lua-users home
lua-l archive

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


On 2009-12-21, Miles Bader <miles@gnu.org> wrote:
> Leo Razoumov <slonik.az@gmail.com> writes:
>  > It is surprising that LuaJIT-2.0.0 is 3 times slower than the Lua
>  > interpreter in the case of argument table. Actually, in my tests
>  > (Ubuntu-9.04 Linux, 2GHz DualCore x86)  LuaJIT-1.1.5 is 2 times faster
>  > than the Lua interpreter for argument tables
>
> ...
>  > What gives?
>
>  I used more repetitions for luajit -- 10 times the number to be exact,
>  so luajit is actually about 3 (10/3) times _faster_ than lua.
>
>  -Miles
>

Auch! My bad. Did not count all the zeros. This is why I prefer to
write 5E6 or 5E7 to spare myself eye-strain.

--Leo--