r/cpp • • May 03 '26

When to actually use a set

https://dubeykartikay.com/posts/why-never-use-std-unordered-set/

reposted with a different title, as i got feedback the previous title was clickbait

21 Upvotes

33 comments sorted by

View all comments

Show parent comment

1

u/Numerous-Door-6646 May 07 '26

I've tried absl flat_hash_set in https://github.com/paperclip/set_perf

It seems to be slower that bitsets for this use case.