Skip to content

Remove hashbrown dependency? #31

@richarddd

Description

@richarddd

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 🥇

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions