Title: Replace `ahash` with `rapidhash` by fanninpm · Pull Request #7954 · RustPython/RustPython · GitHub
Open Graph Title: Replace `ahash` with `rapidhash` by fanninpm · Pull Request #7954 · RustPython/RustPython
X Title: Replace `ahash` with `rapidhash` by fanninpm · Pull Request #7954 · RustPython/RustPython
Description: Follow-up to #7800. Back in 2021, ahash was 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 rapidhash beats ahash in both the SMHasher and SMHasher3 test suites. Additionally, rapidhash has very minimal direct dependencies and is portable across CPU architectures. cc @coolreader18 @joshuamegnauth54 Summary by CodeRabbit Chores Replaced the workspace hashing dependency with an alternative implementation and updated usages across crates for consistent hashing behavior. Adjusted dependency grouping so the previous hash crate is no longer included in the automated grouping/configuration.
Open Graph Description: Follow-up to #7800. Back in 2021, ahash was added to RustPython in #2397 because it was faster than the Rust standard library hash/RandomState. Since then, hashing technology has evolved to the poi...
X Description: Follow-up to #7800. Back in 2021, ahash was added to RustPython in #2397 because it was faster than the Rust standard library hash/RandomState. Since then, hashing technology has evolved to the poi...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7954
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d14a325d-e019-2a84-0148-eadcac857093 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8EFA:2AB1FC:2C26B05:3FF30A2:6A60E2E7 |
| html-safe-nonce | 4df77f5ef7822658ef282c999cb445b1fd92b568bfebcf0cfa3830af818bd56d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUZBOjJBQjFGQzoyQzI2QjA1OjNGRjMwQTI6NkE2MEUyRTciLCJ2aXNpdG9yX2lkIjoiNTQxODE1MzkyMzQ2MjYxOTg3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 64b2952988953aafde4dd4faf9d35d40c4409ce322ef4e89334b60a67a00c81b |
| hovercard-subject-tag | pull_request:3733579678 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/7954/files |
| twitter:image | https://avatars.githubusercontent.com/u/27117322?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/27117322?s=400&v=4 |
| og:image:alt | Follow-up to #7800. Back in 2021, ahash was added to RustPython in #2397 because it was faster than the Rust standard library hash/RandomState. Since then, hashing technology has evolved to the poi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1957f194e271fe30a03dc862496c17190cace7b76c3327faf05645d99ab7da7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ce4ea0e3ce641f8f789b539253752038d78f1cfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width