Here are some ideas for optimising Lua code. Lua is already quite a quick scripting language. There are some issues to be aware of when writing code so that you can get the best efficiency. Most of the information on the pages here was copied from the Lua mailing list. Thanks to the posters for the information.
- SimdExperiment - experimental Single Instruction Multiple Data capability for the Lua VM
- [LuaJIT] - a just-in-time compiler for Lua, which can run Lua code substantially faster
- LlvmLua - a JIT and static Lua compiler, depends on [LLVM]
See also: SampleCode, OptimizedSampleCode, LuaInRealTimePrograms
RecentChanges · preferences
edit · history
Last edited July 17, 2010 1:41 am GMT (diff)