News for hackers. Stuff that matters.
Re:Finding unique items: hash vs. sort by Const-me on Wednesday January 08, 2020 @06:56AM (#21990584)
This.

For the OP’s use case, replacing std::unordered_set<T> with CAtlMap<T,bool> improves the hashtable method performance by a factor of ~4, consistent over different input sizes.

There are no comments on this comment yet.