Lua Module Question

BlitzMax Forums/BlitzMax Programming/Lua Module Question

Ragz(Posted 2006) [#1]
I now use Lua edit for editting my lua files, it has the option to compile them, does the lua module support the compiled lua files (.luac), and does this make lua run faster?


taxlerendiosk(Posted 2006) [#2]
No. It will only make them load faster. When Lua code is running it is actually never being interpreted (read line by line as text) - always compiled, when you call lua_load it is being compiled. You don't need Lua Edit to compile code either - the API command lua_dump lets you save compiled functions.