"Alex Queiroz" <[EMAIL PROTECTED]> writes:

[...]

> There is nothing odd to it, 1 is as good a choice as 0. And ipairs
> is faster than pairs, because it uses only the array part of a table
> (tables in Lua are composed of an array part and a hash part, so
> integer-indexed tables are almost as fast as C arrays).

Sure, except that most languages (though not all) use 0, so using 1
goes a bit against the grain.

> So it would be better to just use Lua as it's supposed to be.

Certainly---it means that all the functions will work as expected, for
one thing.


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to