Title: gh-94155: Reduce hash collisions for code objects by sweeneyde · Pull Request #100183 · python/cpython · GitHub
Open Graph Title: gh-94155: Reduce hash collisions for code objects by sweeneyde · Pull Request #100183 · python/cpython
X Title: gh-94155: Reduce hash collisions for code objects by sweeneyde · Pull Request #100183 · python/cpython
Description: Uses a better hashing algorithm to get better dispersion and remove commutativity. Incorporates co_firstlineno, Py_SIZE(co), and bytecode instructions. This is now the entire set of criteria used in code_richcompare, except for _PyCode_ConstantKey, which incorporates the types of co_consts rather than just their values. Issue: gh-94155
Open Graph Description: Uses a better hashing algorithm to get better dispersion and remove commutativity. Incorporates co_firstlineno, Py_SIZE(co), and bytecode instructions. This is now the entire set of criteria used ...
X Description: Uses a better hashing algorithm to get better dispersion and remove commutativity. Incorporates co_firstlineno, Py_SIZE(co), and bytecode instructions. This is now the entire set of criteria used ...
Opengraph URL: https://github.com/python/cpython/pull/100183
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:7adf12b9-b148-fec6-4ebf-33465acb3ff3 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BFF6:2B0D32:264A832:35F7091:69691C41 |
| html-safe-nonce | e48a9550cfadf4bbed20b06b9f4b7069c120d3eab989550f1e785da9a4c49edd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkY2OjJCMEQzMjoyNjRBODMyOjM1RjcwOTE6Njk2OTFDNDEiLCJ2aXNpdG9yX2lkIjoiNTc3MjE3MzY0NjU2NTU0NzA3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9cc626fce803d6648f6162ab18652fcb5ab029d261439f58562df31ba8e094b6 |
| hovercard-subject-tag | pull_request:1159695380 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/100183/checks |
| twitter:image | https://avatars.githubusercontent.com/u/36520290?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/36520290?s=400&v=4 |
| og:image:alt | Uses a better hashing algorithm to get better dispersion and remove commutativity. Incorporates co_firstlineno, Py_SIZE(co), and bytecode instructions. This is now the entire set of criteria used ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e60568924309a021b51adabdce15c2a2f285b556f3130d1a2fa2a5bce11c55f |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd206f7ed6207863172be4a783826e86bd2375c3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width