lua-users home
lua-l archive

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


On Mon, Jun 18, 2012 at 12:38 PM, Enrico Tassi <gares@fettunta.org> wrote:
> You should really think Lua has no array, it has just (hash) tables.

Except, don't assume O(n log n). For 'sequences' (i = 1..n) tables are
very fast, and once LuaJIT has finished looking at an inner loop, then
the 'hash' lookup obj.field is compiled pretty much as a C compiler
would.

As for the concern about LuaJIT being a one-man effort:  so were
Beethoven's symphonies ;)

steve d.