What's the benifit of flat_hash_map over unordered_map? #390
|
Hi Mike, in https://sv-lang.com/commoncomp.html , the last line Could you explain why flat_hash_map is always better in such condition? |
Answered by
MikePopoloski
Mar 19, 2021
Replies: 1 comment 3 replies
|
It's much much faster. std::unordered_map is notoriously slow. |
3 replies
Answer selected by
zzq0119
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's much much faster. std::unordered_map is notoriously slow.