| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:69173bae-d85a-01e9-bbca-1186b7a7042d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 921E:1E9FD2:5525DE:764350:6A511EEA |
| html-safe-nonce | ad20e54425e2225f255ef8ef0c5d13efb6ce45278eb138ed20f1700ddaaee329 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjFFOjFFOUZEMjo1NTI1REU6NzY0MzUwOjZBNTExRUVBIiwidmlzaXRvcl9pZCI6IjI2MjM1MzI4ODU2NTk5NTA4MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d9016b80c9537998b9089dbc4f85fec862f86023d3873ecb2b0242aef931a625 |
| hovercard-subject-tag | pull_request:3312238590 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/145097/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5d84101ba59e0ae04860d08bd708ed497fcb929e1b7b2d248de7ffe2487dd13b/python/cpython/pull/145097 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d84101ba59e0ae04860d08bd708ed497fcb929e1b7b2d248de7ffe2487dd13b/python/cpython/pull/145097 |
| og:image:alt | Restructure dict keys allocation to store dk_indices before the PyDictKeysObject header and keep dk_entries after the header.
Update dict index access and related allocation/free/clone paths, adjus... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | clintonsteiner |
| hostname | github.com |
| expected-hostname | github.com |
| None | f0f0f3a40c5b69803a8255a8e44323880bf9c4db54d5c076f2130bedf2a1dde5 |
| 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 | 44909533816f7f99ff04e7a0fe692733af67ed84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/145097#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145097 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145097 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/145097 |
| Reload | https://github.com/python/cpython/pull/145097 |
| Reload | https://github.com/python/cpython/pull/145097 |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| clintonsteiner | https://github.com/clintonsteiner |
| python:main | https://github.com/python/cpython/tree/main |
| clintonsteiner:gh-142889 | https://github.com/clintonsteiner/cpython/tree/gh-142889 |
| Conversation | https://github.com/python/cpython/pull/145097 |
| Commits12 (12) | https://github.com/python/cpython/pull/145097/commits |
| Checks | https://github.com/python/cpython/pull/145097/checks |
| Files changed | https://github.com/python/cpython/pull/145097/files |
| gh-142889: Restructure PyDictKeysObject memory layout for simpler access | https://github.com/python/cpython/pull/145097#top |
| clintonsteiner | https://github.com/clintonsteiner |
| python:main | https://github.com/python/cpython/tree/main |
| clintonsteiner:gh-142889 | https://github.com/clintonsteiner/cpython/tree/gh-142889 |
|
| https://github.com/clintonsteiner |
| clintonsteiner | https://github.com/clintonsteiner |
| Feb 22, 2026 | https://github.com/python/cpython/pull/145097#issue-3973761892 |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
| Improved performance and arguably simpler code for dictionaries by changing the keys layout #142889 | https://github.com/python/cpython/issues/142889 |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
| https://github.com/clintonsteiner |
| clintonsteiner | https://github.com/clintonsteiner |
| markshannon | https://github.com/markshannon |
| methane | https://github.com/methane |
| code owners | https://github.com/python/cpython/blob/2be2dd5fc219a5c252d72f351c85db14314bfca5/.github/CODEOWNERS#L214 |
| February 22, 2026 06:55 | https://github.com/python/cpython/pull/145097#event-22977187872 |
| https://github.com/apps/python-cla-bot |
| python-cla-bot | https://github.com/apps/python-cla-bot |
| Feb 22, 2026 | https://github.com/python/cpython/pull/145097#issuecomment-3940312200 |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
| https://cla.python.org/ |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Feb 22, 2026
| https://github.com/python/cpython/pull/145097#ref-issue-3739483405 |
|
Improved performance and arguably simpler code for dictionaries by changing the keys layout
#142889
| https://github.com/python/cpython/issues/142889 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Feb 22, 2026 | https://github.com/python/cpython/pull/145097#event-22977188199 |
|
| https://github.com/clintonsteiner |
| gh-142889 | https://github.com/python/cpython/issues/142889 |
| : Restructure PyDictKeysObject memory layout for simpler ent… | https://github.com/python/cpython/pull/145097/commits/9eec9899ff4d58f139857b8ee108f8f4d7d7e65f |
| 9eec989 | https://github.com/python/cpython/pull/145097/commits/9eec9899ff4d58f139857b8ee108f8f4d7d7e65f |
| https://github.com/clintonsteiner |
| clintonsteiner | https://github.com/clintonsteiner |
| force-pushed | https://github.com/python/cpython/compare/2074c8a833ed7ec4a0cbfb2d8503903840110254..9eec9899ff4d58f139857b8ee108f8f4d7d7e65f |
| 2074c8a | https://github.com/python/cpython/commit/2074c8a833ed7ec4a0cbfb2d8503903840110254 |
| 9eec989 | https://github.com/python/cpython/commit/9eec9899ff4d58f139857b8ee108f8f4d7d7e65f |
|
Compare
| https://github.com/python/cpython/compare/2074c8a833ed7ec4a0cbfb2d8503903840110254..9eec9899ff4d58f139857b8ee108f8f4d7d7e65f |
| February 22, 2026 06:56 | https://github.com/python/cpython/pull/145097#event-22977203538 |
| clintonsteiner | https://github.com/clintonsteiner |
| February 22, 2026 01:11 | https://github.com/python/cpython/pull/145097#commits-pushed-4602616 |
|
| https://github.com/clintonsteiner |
| ci fixes for wasl and c-global checker | https://github.com/python/cpython/pull/145097/commits/46026168a48433d16d2b3b5600e16d5d2fc0ff9c |
| 4602616 | https://github.com/python/cpython/pull/145097/commits/46026168a48433d16d2b3b5600e16d5d2fc0ff9c |
|
| https://github.com/clintonsteiner |
| ci fixes for wasl and c-global checker | https://github.com/python/cpython/pull/145097/commits/270837b2a4ae56540b54d2f0dc70444832fc96b4 |
| 270837b | https://github.com/python/cpython/pull/145097/commits/270837b2a4ae56540b54d2f0dc70444832fc96b4 |
| https://github.com/brijkapadia |
| brijkapadia | https://github.com/brijkapadia |
|
Feb 22, 2026
| https://github.com/python/cpython/pull/145097#pullrequestreview-3837644626 |
|
View reviewed changes
| https://github.com/python/cpython/pull/145097/files/270837b2a4ae56540b54d2f0dc70444832fc96b4 |
| Objects/dictobject.c | https://github.com/python/cpython/pull/145097/files/270837b2a4ae56540b54d2f0dc70444832fc96b4#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
|
| https://github.com/clintonsteiner |
| address pr comments | https://github.com/python/cpython/pull/145097/commits/cc0a3561165b4692877d13ba47e80767ccfd86df |
| cc0a356 | https://github.com/python/cpython/pull/145097/commits/cc0a3561165b4692877d13ba47e80767ccfd86df |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
Mar 11, 2026
| https://github.com/python/cpython/pull/145097#pullrequestreview-3930223408 |
|
View reviewed changes
| https://github.com/python/cpython/pull/145097/files/cc0a3561165b4692877d13ba47e80767ccfd86df |
| markshannon | https://github.com/markshannon |
| https://github.com/python/cpython/pull/145097#pullrequestreview-3930223408 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
| Include/internal/pycore_dict.h | https://github.com/python/cpython/pull/145097/files/cc0a3561165b4692877d13ba47e80767ccfd86df#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
| Include/internal/pycore_dict.h | https://github.com/python/cpython/pull/145097/files/cc0a3561165b4692877d13ba47e80767ccfd86df#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
| Objects/dictobject.c | https://github.com/python/cpython/pull/145097/files/cc0a3561165b4692877d13ba47e80767ccfd86df#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
| clintonsteiner | https://github.com/clintonsteiner |
| March 11, 2026 14:38 | https://github.com/python/cpython/pull/145097#commits-pushed-e6754e9 |
|
| https://github.com/clintonsteiner |
| gh-142889 | https://github.com/python/cpython/issues/142889 |
| : Address PR review comments on PyDictKeysObject restructure | https://github.com/python/cpython/pull/145097/commits/e6754e95a831f96f2d521a84b99fd35f68125f67 |
| e6754e9 | https://github.com/python/cpython/pull/145097/commits/e6754e95a831f96f2d521a84b99fd35f68125f67 |
|
| https://github.com/clintonsteiner |
| correct gbd test usage to use dk_entries instead of dk_indices | https://github.com/python/cpython/pull/145097/commits/e9d9ec5265b92d8a922e5ad86c7301dc60492d86 |
| e9d9ec5 | https://github.com/python/cpython/pull/145097/commits/e9d9ec5265b92d8a922e5ad86c7301dc60492d86 |
|
| https://github.com/clintonsteiner |
| fix LOAD_INDEX/STORE_INDEX to use _DK_INDICES_BASE for well-defined p… | https://github.com/python/cpython/pull/145097/commits/4c889e8b75c1bc442e940853f7c852a4532aff5f |
| 4c889e8 | https://github.com/python/cpython/pull/145097/commits/4c889e8b75c1bc442e940853f7c852a4532aff5f |
|
| https://github.com/clintonsteiner |
| fix windows 32 bit: use clang -target i686-pc-windows-msvc | https://github.com/python/cpython/pull/145097/commits/aad4907d0381abc4a4b7d1acbd19454fb40fa426 |
| aad4907 | https://github.com/python/cpython/pull/145097/commits/aad4907d0381abc4a4b7d1acbd19454fb40fa426 |
|
| https://github.com/clintonsteiner |
| Fix gcc warning for empty dict keys initializer | https://github.com/python/cpython/pull/145097/commits/8e74bdcd47a10216f8fdbb56345faf8c198533e8 |
| 8e74bdc | https://github.com/python/cpython/pull/145097/commits/8e74bdcd47a10216f8fdbb56345faf8c198533e8 |
|
| https://github.com/clintonsteiner |
| gh-0: Fix dict empty keys initializer braces | https://github.com/python/cpython/pull/145097/commits/b82ae49a3ccf93dc4b390aeb53f4875e659b2f7c |
| b82ae49 | https://github.com/python/cpython/pull/145097/commits/b82ae49a3ccf93dc4b390aeb53f4875e659b2f7c |
|
| https://github.com/clintonsteiner |
| Merge branch 'main' into | https://github.com/python/cpython/pull/145097/commits/4210757ef294d8a77fce6bda92f8d10e53783fbe |
| gh-142889 | https://github.com/python/cpython/issues/142889 |
| 4210757 | https://github.com/python/cpython/pull/145097/commits/4210757ef294d8a77fce6bda92f8d10e53783fbe |
|
| https://github.com/clintonsteiner |
| Merge branch 'main' into | https://github.com/python/cpython/pull/145097/commits/750c33b2692f9358cda08f4142b02d694984cd8c |
| gh-142889 | https://github.com/python/cpython/issues/142889 |
| 750c33b | https://github.com/python/cpython/pull/145097/commits/750c33b2692f9358cda08f4142b02d694984cd8c |
| https://github.com/clintonsteiner |
| clintonsteiner | https://github.com/clintonsteiner |
| Apr 21, 2026 | https://github.com/python/cpython/pull/145097#issuecomment-4285142032 |
| @markshannon | https://github.com/markshannon |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
| https://github.com/clintonsteiner |
| clintonsteiner | https://github.com/clintonsteiner |
| Apr 28, 2026 | https://github.com/python/cpython/pull/145097#event-24927379778 |
| https://github.com/brijkapadia |
| brijkapadia | https://github.com/brijkapadia |
|
May 30, 2026
| https://github.com/python/cpython/pull/145097#ref-pullrequest-4555767404 |
|
gh-142889: Improve layout of dictionary keys
#150640
| https://github.com/python/cpython/pull/150640 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145097 |
|
| https://github.com/markshannon |
|
markshannon
| https://github.com/markshannon |
|
| https://github.com/python/cpython/pull/145097/files/cc0a3561165b4692877d13ba47e80767ccfd86df |
|
| https://github.com/methane |
|
methane
| https://github.com/methane |
|
| https://github.com/brijkapadia |
|
brijkapadia
| https://github.com/brijkapadia |
|
| https://github.com/python/cpython/pull/145097/files/270837b2a4ae56540b54d2f0dc70444832fc96b4 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Please reload this page | https://github.com/python/cpython/pull/145097 |
|
| https://github.com/clintonsteiner |
|
| https://github.com/markshannon |
|
| https://github.com/brijkapadia |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |