hashbrown uses aHash
by default, which is much faster than std's SipHash-1-3
this post was submitted on 11 Oct 2023
14 points (100.0% liked)
Rust Programming
8159 readers
1 users here now
founded 5 years ago
MODERATORS
I 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.
Stdlib uses SipHash, not HashBrown.