Title: bpo-40602: Optimize _Py_hashtable for pointer keys by vstinner · Pull Request #20051 · python/cpython · GitHub
Open Graph Title: bpo-40602: Optimize _Py_hashtable for pointer keys by vstinner · Pull Request #20051 · python/cpython
X Title: bpo-40602: Optimize _Py_hashtable for pointer keys by vstinner · Pull Request #20051 · python/cpython
Description: Optimize _Py_hashtable_get() and _Py_hashtable_get_entry() for pointer keys: key_size == sizeof(void*) hash_func == _Py_hashtable_hash_ptr compare_func == _Py_hashtable_compare_direct Changes: Add get_func and get_entry_func to _Py_hashtable_t Convert _Py_hashtable_get() and _Py_hashtable_get_entry() to static inline functions. Add specialized get and get entry for pointer keys. https://bugs.python.org/issue40602
Open Graph Description: Optimize _Py_hashtable_get() and _Py_hashtable_get_entry() for pointer keys: key_size == sizeof(void*) hash_func == _Py_hashtable_hash_ptr compare_func == _Py_hashtable_compare_direct Changes: A...
X Description: Optimize _Py_hashtable_get() and _Py_hashtable_get_entry() for pointer keys: key_size == sizeof(void*) hash_func == _Py_hashtable_hash_ptr compare_func == _Py_hashtable_compare_direct Changes: A...
Opengraph URL: https://github.com/python/cpython/pull/20051
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:24f98c63-157a-04a9-1136-d97ed2887fcf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 86D2:30F550:5E656:80024:696A0C4F |
| html-safe-nonce | 0d117eb1de050d1936dd127f60db8bb6efb15734b78b21c179785d86d8ebfbf3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkQyOjMwRjU1MDo1RTY1Njo4MDAyNDo2OTZBMEM0RiIsInZpc2l0b3JfaWQiOiIzMzg0NDA1MzczMTMxMjk1ODIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | aaca10ef3e82a029a15a0ad903bc7d7a756d83e3aad8e0954f47c1605ecea752 |
| hovercard-subject-tag | pull_request:416466884 |
| 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/20051/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Optimize _Py_hashtable_get() and _Py_hashtable_get_entry() for pointer keys: key_size == sizeof(void*) hash_func == _Py_hashtable_hash_ptr compare_func == _Py_hashtable_compare_direct Changes: A... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width