Anh Kagi@jlai.lutoRust Programming@lemmy.ml•Question: How is hashbrown faster than the stdlib HashMap?
81·
1 year agoI suppose it’s because the article you’re citing is from april 22nd, and that hashbrown has replaced old std hashmap in this commit, which hash been created on 24th.
I suppose (can’t test myself) that if you do the test now (hashbrown against std), the performance difference would be negligeable beacuse you would be testing roughly the same algorithms.
sometimes it’s also bugs caused by optimizations.