Replace ahash with rapidhash#7954
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (11)
💤 Files with no reviewable changes (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThis PR replaces the ahash crate with rapidhash across the workspace: workspace dependencies updated, Dependabot pattern removed, and hasher types switched from ahash::RandomState to rapidhash::quality::RandomState in codegen, stdlib, and vm crates. ChangesHash Library Migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ShaharNaveh
left a comment
There was a problem hiding this comment.
Do we need to adjust dependabot as well?
That will be the last commit in the series. |
fd63103 to
133a66c
Compare
Follow-up to #7800.
Back in 2021,
ahashwas added to RustPython in #2397 because it was faster than the Rust standard library hash/RandomState.Since then, hashing technology has evolved to the point where
rapidhashbeatsahashin both theSMHasherandSMHasher3test suites.Additionally,
rapidhashhas very minimal direct dependencies and is portable across CPU architectures.cc @coolreader18 @joshuamegnauth54
Summary by CodeRabbit