Re:What to use instead of std::set [pdf]
by greg7mdp on Thursday August 25, 2016 @11:19AM
(#12359668)
Actually, if you don't need the entries to be sorted, the sparse_hash_set from https://github.com/greg7mdp/sparsepp is much faster than std::set or a sorted vector (except for iteration) and barely uses more memory than the sorted vector.
[ Parent
| on HN ]
Re:What to use instead of std::set [pdf]
by Ono-Sendai on Thursday August 25, 2016 @11:40AM
(#12359905)
Or use unordered_set.