Can anyone tell me if I can reasonably expect any performance gain by loading a lua script that will be called repetitively into memory for execution through LuaInterface's dostring()
functionality rather than dofile()
?
Am I correct in assuming this will perform better by reducing file-system access each iteration?
Is there some way to cache the script within the Lua VM?