Major optimization discovered and implemented:
WoW's Lua VM uses its own internal memory allocator — a custom pool system that completely bypasses CRT malloc. This means our previous mimalloc hooks didn't cover Lua allocations at all.
Now the DLL replaces Lua's allocator directly:
- Every string, table, closure created by addons → mimalloc
- Safe transition for old pointers
- Auto re-apply on /reload
This affects every addon — DBM timers, Skada combat log parsing, WeakAuras aura checks, all of it. Thousands of allocations per second now go through a modern allocator instead of WoW's 2008-era pool system.
Also new:
- 4-tier GC stepping (loading/combat/idle/normal)
- Idle + loading state awareness from LuaBoost addon
📥 https://github.com/suprepupre/wow-optimize/releases/latest
🔧 Recommended with: https://github.com/suprepupre/LuaBoost