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