Improve perf by switching to unordered_map (stl hash)