[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA oddities..
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 18 Jun 2012 12:46:46 +0200
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.