News for hackers. Stuff that matters.
Re:JSON for Modern C++ version 3.10.0 by beached_whale on Thursday August 19, 2021 @11:49AM (#28235338)
Abseil has a btree based hash map and it performs much better. I think it maintains the same constrains(iterator invalidation/exception safety...) as std::unordered_map.

The issue is that the implementors won't change their implementation of unordered_map as it's an ABI break, to say it simply. It could be better. But also, there are other tools like flat maps/open addressing that are not done in the std library.

There are no comments on this comment yet.