For anyone doing heavy computing with a Mudlet that uses LuaJIT2 (check if the 'jit' global table exists to know if you are), benchmarks from the LuaJIT2 page with Mudlet stopwatches. The result is rather amazing for raw computing when you bring ffi in:
jitlua
The LuaJIT2 conversion took 0.66 seconds.
jitlua
The LuaJIT2 conversion took 0.654 seconds.
purelua
The Lua conversion took 6.384 seconds.
purelua
The Lua conversion took 6.33 seconds.
Lua vs LuaJIT2 alises
Lua vs LuaJIT2 alises
- Attachments
-
- Lua vs LuaJIT2.xml
- (2.28 KiB) Downloaded 563 times