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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:62761cc1-2963-136b-db39-f5e3295ef040 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A932:564B0:A902FC:EEE155:696902D7 |
| html-safe-nonce | 8a8c9b3e88aa65ae62dd15c3f705c5080b32c25cbe8a0cbf810b0f773b480ce7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTMyOjU2NEIwOkE5MDJGQzpFRUUxNTU6Njk2OTAyRDciLCJ2aXNpdG9yX2lkIjoiNjQwNzc0NjAyMDg3ODkxMDE2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 498d35b84326d43c5454570004c5b6b05292fa57b183174be2dc45ead74caa49 |
| hovercard-subject-tag | pull_request:1159695380 |
| 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/python/cpython/pull/100183/files |
| 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 | e6156bd4ef9f2dc8dadf4c49a8f7ed8532186388cef72eda3ccb9f0ab3b8cfca |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fd1938215b152e2c6a29cf56fec07fd9f91f1203 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width