mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-10 02:41:39 -10:00
1. Do not modify the map after loading. Instead, return string views (guaranteed to be null-terminated) from look up functions and return the key directly if not found. 2. Use an `unorded_map` instead of `map` where available (C++20). Saves a bit of RAM (~50 KiB) and improves lookup performance.