lua-users home
lua-l archive

Sort suggestion

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Dears,
 Today, table.sort has the prototype: "table.sort (table [, comp])".
 
 This prototype doesn't allow to apply table.sort on an array segment
(i.e. from i to j positions) directly. The qsort(3) of C doesn't have
this parameters, but it allows this using pointer arithmetric.
 Can Lua include theses parameters in a next version?
[ ]'s
Michel Machado

AltStyle によって変換されたページ (->オリジナル) /