The following thread is intended to collect all the good ways to use Lua/Luajit within Defold.
Some of the information will include:
- General Lua performance with respect to language use
- How to tweak luajit to perform that little bit better
- FFI specific performance improvements (for those targeting platform external libs)
- Interop performance notes for native libraries.
- Defold specific optimizations
Hopefully this could be a useful reference of common links and information that people can add to over time.
Defold Optimisation Page
Lua Classic Tips:
Luajit Performance Tips:
Luajit Performance Tips (from Mike Pall):