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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:320aec16-8f47-0a8f-db82-f912107d9365 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | ECA6:1A9004:590376:7D1F9A:696A0F7F |
| html-safe-nonce | 26910c55778c576ab23ec3294749f3de95ed4e97c87797911fde6b703bf7ac69 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0E2OjFBOTAwNDo1OTAzNzY6N0QxRjlBOjY5NkEwRjdGIiwidmlzaXRvcl9pZCI6IjQ1MTg5MDUzNDk2ODIzNjc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3014dee239045f67a9551839db4cae8d63c25956392c6c0704e97ff9a7e1b107 |
| hovercard-subject-tag | pull_request:416466884 |
| 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/20051/checks |
| 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 |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width