Maybe i'm missing something here but since Rust 1.36, hashbrown is now the HashMap implementation for the Rust standard library so is the dependency needed?
And then you can use use the default HashMap with an ahash or fxhash or pull in that dependency. fxhash was the most performant (not cryptographically safe) when used in rustc https://nnethercote.github.io/perf-book/hashing.html but of many cases ahash is faster
Or even better, use the default hashset and feature gate fxhash or ahash algorithms defaulting to ahash 🥇
Maybe i'm missing something here but since Rust 1.36,
hashbrownis now the HashMap implementation for the Rust standard library so is the dependency needed?And then you can use use the default HashMap with an
ahashorfxhashor pull in that dependency.fxhashwas the most performant (not cryptographically safe) when used in rustc https://nnethercote.github.io/perf-book/hashing.html but of many casesahashis fasterOr even better, use the default hashset and feature gate
fxhashorahashalgorithms defaulting toahash🥇