6/27/2026 at 6:08:39 AM
My goto these days (and afaik the state of the art) is boost::unordered_flat_set paired with rapidhash for hashing (since the GNU std::hash functions based on murmurhash are ridiculously slow)The cacheline performance is pretty hard to beat (SIMD optimised linear scan before hopping), which is where all the wins come in the real world.
But basically any of the faster hash maps from absl, boost or folly are going to wreck the standard library in terms of perf
by nly
6/27/2026 at 7:41:46 PM
> with rapidhash for hashing (since the GNU std::hash functions based on murmurhash are ridiculously slow)Doesn't boost::unordered_flat_map use boost::hash by default? How does it compare to rapid hash and std::hash?
by spacechild1