Sort suggestion
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Sort suggestion
- From: Michel Machado <michel@...>
- Date: 2004年7月27日 09:29:05 -0300
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