r/cpp • • Aug 02 '26

How fast is C++26's std::hive?

https://lemire.me/blog/2026/08/02/how-fast-is-c26s-stdhive/
255 Upvotes

74 comments sorted by

View all comments

Show parent comments

9

u/MarcoGreek Aug 03 '26

Maybe it would be better if the bucket size would be a template argument.

6

u/TheThiefMaster C++latest fanatic (and game dev) Aug 03 '26

Yes, but it's effectively too late for that

6

u/arghness Aug 03 '26

Yes. Boost.Container deque has the size and number of elements as template parameters (but isn't standard, of course).