lua-users home
lua-l archive

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


2012/12/20 Geoff Leyland <geoff_leyland@fastmail.fm>:

> In order to get run times of the order of a second, unless you modified it,
> the test does ten times as many iterations for LuaJIT as it does for PUC Lua
> (see line 3).
>
> If I make your modification and run for the same number of iterations,
> I find that on my machine LuaJIT is slightly faster.
>

Ah, I missed that. Sorry, should have read the top two lines
more attentively.

I.e. LuaJIT reduces the loop overhead from tiny to negligible.