Perf: Use unordered_map instead of map in very slightly hot function. Incrementing an unordered_map's iterator is a bit faster.