New Lua Fast Paths (Phase 2)
- table.concat: single-pass array-to-string, SEH-guarded, safe fallback on non-contiguous tables
- unpack: optimized dense table unpacking, reduces GC pressure during data parsing
- select: fast-path for "#" and numeric index selection, zero overhead on variadic arguments
- rawequal: direct TValue comparison, bypasses metamethod lookup for UI/framework checks
Stability & Cleanup
- Removed luaS_newlstr (StrCache) hook: eliminated 0xC0000005 crash vector at 0x0085CB43
- Disabled luaV_concat (.. operator) hook: removed 0% hit-rate overhead, optimization handled safely via table.concat
- Fixed duplicate string.sub hook registration (MH_ERROR_ALREADY_CREATED)
- Consolidated Phase 2 stats into a single clean log line for easier diagnostics
- Fixed missing fn_lua_pushboolean typedef & duplicate declaration
Observed Impact (Heavy Addon Load)
- table.concat: ~92% fast-path hit rate
- unpack: ~93% hit rate
- select: ~84% hit rate
- rawequal: 100% hit rate (low frequency, zero overhead)
- No crashes, no memory leaks, stable across /reload and zone transitions
Installation
- Copy version.dll + wow_optimize.dll to your WoW folder, or use wow_loader.exe
- Works standalone or with !LuaBoost v1.3.0+ for GC sync & diagnostics
- No configuration required. All fast paths activate automatically after login.