Re:C++: The Documentary
by mixolydianagain on Friday June 05, 2026 @04:35AM
(#48409697)
some of the STL is easy to improve on. For example, std::unordered_map performs poorly due to pointer stability requirements in the standard. Most performance sensitive C++ codebases will use something like abseil's hash maps instead.
[ Parent
| on HN ]
Re:C++: The Documentary
by spacechild1 on Friday June 05, 2026 @05:50AM
(#48410233)
Just a heads-up: if you're already using boost, boost::unordered now has open addressing containers (unordered_flat_map and unordered_flat_map) and they are among the fastest.