r/cpp • • Sep 07 '26

flat_map internals

https://quantdev.blog/posts/flat-map-internals/index.html
11 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/Big_Target_1405 Sep 09 '26

You might find these old articles explain exactly why

https://bannalia.blogspot.com/2013/10/implementation-of-c-unordered.html?m=1

http://bannalia.blogspot.com/2013/10/implementation-of-c-unordered_25.html

And how things were improved in Boost 1.80 onwards

https://bannalia.blogspot.com/2022/06/advancing-state-of-art-for.html

Boost constantly improves. The boost unordered_flat_map now beats the abseil implementation significantly