luaswift
it makes your lua script go vroom
local variables are known for being faster to access than the global ones.
this simple tool replaces calls to global functions with calls to local functions.
this is achieved by...
- parsing the script with
luaparse
- going through every function call
- checking if the function is not defined elsewhere
- adding the function to the local variables list
- replacing the function name with the local one
also, it replaces the "dot syntax" with "underscore syntax". love it or not, accessing tables (and especially accessing global tables) is slooow.
- cool ui
- supports neverlose (ironical, right?)
- doesn't break when using
goto
- uses
LuaJIT
as a lua version for luaparse