3 ms·
The post is very light on details about the measurements, and only compares to libc++'s std::unordered_{map,set} (no version number provided). There is no menti
by lorenzhs 10y ago
The post is very light on details about the measurements, and only compares to libc++'s std::unordered_{map,set} (no version number provided). There is no mention of space usage.
It's well known that std::unordered_map is slow (see panic's comment). Some more worthy opponents would be Google's dense_hash_map [1] or sparsepp [2]
[1] https://github.com/sparsehash/sparsehash https://github.com/sparsehash/sparsehash
[2] https://github.com/greg7mdp/sparsepp https://github.com/greg7mdp/sparsepp