[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: PATCH: note_netsync_revision_received apparently mi
From: |
Bruce Stephens |
Subject: |
[Monotone-devel] Re: PATCH: note_netsync_revision_received apparently missing author cert |
Date: |
Tue, 13 Mar 2007 13:09:39 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
"Alex Queiroz" <address@hidden> 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.