lua-users home
lua-l archive

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

another interesting observation:

LuaJIT impact:
noop     : 816%
c        : 166%
generated: 392%
recursive: 320%
unpack   : 158%

both 'generated' and 'recursive' spend most of the time calling
functions and shuffling values in the stack, and get a 3-4 times boost
by LuaJIT. 'c' and 'unpack' OTOH, spend time in non-vm tasks (your C
function and allocation, respectively), and get ony 1.5x speedup.