c986da9c77078cb5b4e2533bcc35d1dd5c940be7
Similar to the VMAP fix, this caches failed MMAP load attempts using a bitset per TerrainInfo instance. This prevents the server from repeatedly attempting to load MMAP tiles that don't exist (e.g., unused dungeon maps, boost experience maps, etc.), which was causing significant slowdowns. Changes: - Add _mmapLoadFailed bitset to TerrainInfo class - Skip LoadMMapImpl early if grid already marked as failed - Cache FileNotFound, VersionMismatch, ReadFromFileFailed, and LibraryError results - Change expected "FileNotFound" log level from WARN to DEBUG - Update analysis documentation with fix status Impact: Near-instant returns for grids with missing MMAP data instead of repeated file I/O attempts. Co-Authored-By: Claude Opus 4.5 <[email protected]> Signed-off-by: luis <[email protected]>
WowCommunityProject
Blizzlike WowCommunity project
Languages
C++
89.3%
C
10.1%
CMake
0.4%