lua-users home
lua-l archive

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


Hi all,

A few weeks ago I wrote a Lua prime number generator. Today, to test Lua 5.1.4  
vs LuaJIT 1.1.6 I ran the prime numbers between 1 and 50 million, writing all 
numbers to /dev/null to minimize I/O time. Lua took typically around 48 
seconds and LuaJIT took around 34 seconds. Is this typical of a CPU/memory 
bound process?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt