Title: bpo-32346: speed up slot lookup during class creation by pitrou · Pull Request #4902 · python/cpython · GitHub
Open Graph Title: bpo-32346: speed up slot lookup during class creation by pitrou · Pull Request #4902 · python/cpython
X Title: bpo-32346: speed up slot lookup during class creation by pitrou · Pull Request #4902 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Instead of looking up every possible slot in every class along the MRO (generating possibly hundreds of dict lookups), cache the known descriptors of each type so that finding them again is simply ...
X Description: Instead of looking up every possible slot in every class along the MRO (generating possibly hundreds of dict lookups), cache the known descriptors of each type so that finding them again is simply ...
Opengraph URL: https://github.com/python/cpython/pull/4902
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:dbd121bb-da82-74b4-7f75-b543b6e1bc92 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E7D8:29812D:2172D4D:2D145F7:6A59A291 |
| html-safe-nonce | 85073f4607723725edf184548884a3e6d57a2c459149f855c2d79dff337fcf68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0Q4OjI5ODEyRDoyMTcyRDREOjJEMTQ1Rjc6NkE1OUEyOTEiLCJ2aXNpdG9yX2lkIjoiNjgyMjkxNjg1NzAxNDEwMDYyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b76bc7f8b0e77c9d44502e65ec1fb978b116312d8c8c2e9e9ae277e28897cf43 |
| hovercard-subject-tag | pull_request:158742591 |
| 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/4902/commits |
| twitter:image | https://opengraph.githubassets.com/8e3450cf5273f436c4d51885e52621e3cc4ecb74eaa801b5679f6283245d3692/python/cpython/pull/4902 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e3450cf5273f436c4d51885e52621e3cc4ecb74eaa801b5679f6283245d3692/python/cpython/pull/4902 |
| og:image:alt | Instead of looking up every possible slot in every class along the MRO (generating possibly hundreds of dict lookups), cache the known descriptors of each type so that finding them again is simply ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pitrou |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0b971869dd75eec26500a9de7e85b8137c6bf0f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width