2 ms·
> A skilled C++ programmer wouldn't be using unordered_map so it is unfair to point out you can use something bad. C++ isn't my primary language. Pray tell - w
by BeetleB 1y ago
> A skilled C++ programmer wouldn't be using unordered_map so it is unfair to point out you can use something bad.
C++ isn't my primary language. Pray tell - what's wrong with unordered_map, and what's the alternative?
- jcranmer 1y agostd::unordered_map basically specifies a bucket-based hashtable implementation (read: lots of extra pointer chasing). Most high-performance hashtables are based on probing.