r/cpp • • Jun 07 '26

Recent LLVM hash table improvements

https://maskray.me/blog/2026-06-07-recent-llvm-hash-table-improvements
83 Upvotes

9 comments sorted by

View all comments

Show parent comment

27

u/JVApen Clever is an insult, not a compliment. - T. Winters Jun 07 '26

It's in the article: performance. Though it isn't just linear vs quadratic,, it's also removing tombstones.

Note that although these maps look like general purpose, they are optimized for the compiler use cases, which mainly add and lookup, barely erase elements. So for your program, this could be a performance degradation.