lua-users home
lua-l archive

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

Hmm... Could it be that storing into a table starting at index zero makes Lua use more memory (bypassing a table optimization for numeric indexes starting at one)? Can anyone think of how to optimize this Lua implementation of fannkuch to use less memory?


Don Hopkins wrote:
Lua has a lot of catching up to do if it wants to be as big and as slow as JavaScript.

Any guess why the one benchmark that Lua does badly on (using lots of memory, but not running slowly) is fannkuch?