--

Forget it, this can not be achieved unless the Lua engine is based LuaJIT (which it currently still isn’t).
And then the tool scripts also need to be put into the realtime thread as they now simply run in the graphics thread which runs vastly slower and differ from machine to machine (depending on what the FPS is set to in the GUI properties).