lua-users home
lua-l archive

Re: bit.lshift and performance - luabitop v.s. lua-5.2.0-work4

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


KHMan wrote:
> A few hundred million ops per second doing them on Lua seemed far
> off enough that it seemed to me like a reasonable future target, but
> not something that can be currently done.
$ time luajit -e "for i=1,1e9 do end"
0.340
This means it performs THREE BILLION loop iterations per second.
Welcome to the 21st century! Time to readjust your perceptions. :-)
--Mike

AltStyle によって変換されたページ (->オリジナル) /