News for hackers. Stuff that matters.
Re:Effortless Performance Improvements in C++: std:unordered... by masklinn on Thursday March 02, 2023 @08:14AM (#34995228)
> maybe could be a b-tree?

IIRC the complexity requirements of std::map preclude a b-tree (or require a binary tree). Though I don't remember the exact reasoning.

abseil's website makes the same claim, though also without justification:

> B-trees have a different implementation from STL std::map containers, which require binary trees commonly implemented as red-black trees.

There are no comments on this comment yet.