Scripting: don't call lua_gc() after Lua script run.
Calling lua_gc() after every script execution is too expensive, and apparently does not make the execution smoother: the same peak latency was measured before and after the commit. This change accounts for scripts execution speedup in the order of 10%.
Please register or sign in to comment