rust-lang / rust-lang/hashbrown
`foldhash::fast::RandomState` is very bad
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3k
- Forks
- 359
- Avg merge
- 11h 57m
- Merged PRs (30d)
- 2
Description
This counts collisions. The number fluctuates wildly from 1.5% to 7% and mostly depends on global seed (if one measurement is bad then all of them are). Both foldhash::quality::RandomState and ahash::RandomState remain at around 2.9% and would be acceptable as default.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Rust Playground reproduction and compare the collision counts for foldhash::fast::RandomState, foldhash::quality::RandomState, and ahash::RandomState across global seeds. Done means the collision behavior is understood and the issue's reported instability has a justified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100