Use unordered_map in memdbg for performance