Hannu's "LUA_EnumLib optimizations for constant value access" with fixed merge conflict
Compare changes
constants are stored into _G after first use
made LUA_EvalMath's dedicated Lua state permanent so it can also benefit from these optimizations
see !1721 (merged)
build based on next
so backup gamedata first: srb2winoptconst.exe