René's URL Explorer Experiment


Title: gh-142889: Restructure PyDictKeysObject memory layout for simpler access by clintonsteiner · Pull Request #145097 · python/cpython · GitHub

Open Graph Title: gh-142889: Restructure PyDictKeysObject memory layout for simpler access by clintonsteiner · Pull Request #145097 · python/cpython

X Title: gh-142889: Restructure PyDictKeysObject memory layout for simpler access by clintonsteiner · Pull Request #145097 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/python/cpython/pull/145097

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:55bc4fdd-4aa2-781a-a0a2-fedfec81523b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB5A:355EFE:B74F5E:F72C40:6A529D26
html-safe-nonce35c5eb3efdc7e027d8f31035d37142db592db54f7d0ea0dcfebd50c4a6410d52
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjVBOjM1NUVGRTpCNzRGNUU6RjcyQzQwOjZBNTI5RDI2IiwidmlzaXRvcl9pZCI6IjkxNzA0MDQ5ODE1MjU4ODAxMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca36e1d85d8aede7eebb2e91551552ea0ba67dd33f32f9199d76dbb4fc0547558
hovercard-subject-tagpull_request:3312238590
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/145097/commits
twitter:imagehttps://opengraph.githubassets.com/5d84101ba59e0ae04860d08bd708ed497fcb929e1b7b2d248de7ffe2487dd13b/python/cpython/pull/145097
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d84101ba59e0ae04860d08bd708ed497fcb929e1b7b2d248de7ffe2487dd13b/python/cpython/pull/145097
og:image:altRestructure 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameclintonsteiner
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/145097/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145097%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/145097/commits
Reloadhttps://github.com/python/cpython/pull/145097/commits
Reloadhttps://github.com/python/cpython/pull/145097/commits
Please reload this pagehttps://github.com/python/cpython/pull/145097/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/145097/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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
clintonsteinerhttps://github.com/clintonsteiner
python:mainhttps://github.com/python/cpython/tree/main
clintonsteiner:gh-142889https://github.com/clintonsteiner/cpython/tree/gh-142889
Conversationhttps://github.com/python/cpython/pull/145097
Commits12 (12)https://github.com/python/cpython/pull/145097/commits
Checkshttps://github.com/python/cpython/pull/145097/checks
Files changedhttps://github.com/python/cpython/pull/145097/files
gh-142889: Restructure PyDictKeysObject memory layout for simpler accesshttps://github.com/python/cpython/pull/145097/commits#top
clintonsteinerhttps://github.com/clintonsteiner
python:mainhttps://github.com/python/cpython/tree/main
clintonsteiner:gh-142889https://github.com/clintonsteiner/cpython/tree/gh-142889
gh-142889: Restructure PyDictKeysObject memory layout for simpler entry accesshttps://github.com/python/cpython/pull/145097/commits/9eec9899ff4d58f139857b8ee108f8f4d7d7e65f
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
9eec989https://github.com/python/cpython/pull/145097/commits/9eec9899ff4d58f139857b8ee108f8f4d7d7e65f
https://github.com/python/cpython/tree/9eec9899ff4d58f139857b8ee108f8f4d7d7e65f
ci fixes for wasl and c-global checkerhttps://github.com/python/cpython/pull/145097/commits/46026168a48433d16d2b3b5600e16d5d2fc0ff9c
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
4602616https://github.com/python/cpython/pull/145097/commits/46026168a48433d16d2b3b5600e16d5d2fc0ff9c
https://github.com/python/cpython/tree/46026168a48433d16d2b3b5600e16d5d2fc0ff9c
ci fixes for wasl and c-global checkerhttps://github.com/python/cpython/pull/145097/commits/270837b2a4ae56540b54d2f0dc70444832fc96b4
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
270837bhttps://github.com/python/cpython/pull/145097/commits/270837b2a4ae56540b54d2f0dc70444832fc96b4
https://github.com/python/cpython/tree/270837b2a4ae56540b54d2f0dc70444832fc96b4
address pr commentshttps://github.com/python/cpython/pull/145097/commits/cc0a3561165b4692877d13ba47e80767ccfd86df
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
cc0a356https://github.com/python/cpython/pull/145097/commits/cc0a3561165b4692877d13ba47e80767ccfd86df
https://github.com/python/cpython/tree/cc0a3561165b4692877d13ba47e80767ccfd86df
gh-142889: Address PR review comments on PyDictKeysObject restructurehttps://github.com/python/cpython/pull/145097/commits/e6754e95a831f96f2d521a84b99fd35f68125f67
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
e6754e9https://github.com/python/cpython/pull/145097/commits/e6754e95a831f96f2d521a84b99fd35f68125f67
https://github.com/python/cpython/tree/e6754e95a831f96f2d521a84b99fd35f68125f67
correct gbd test usage to use dk_entries instead of dk_indiceshttps://github.com/python/cpython/pull/145097/commits/e9d9ec5265b92d8a922e5ad86c7301dc60492d86
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
e9d9ec5https://github.com/python/cpython/pull/145097/commits/e9d9ec5265b92d8a922e5ad86c7301dc60492d86
https://github.com/python/cpython/tree/e9d9ec5265b92d8a922e5ad86c7301dc60492d86
fix LOAD_INDEX/STORE_INDEX to use _DK_INDICES_BASE for well-defined pointer arithmetichttps://github.com/python/cpython/pull/145097/commits/4c889e8b75c1bc442e940853f7c852a4532aff5f
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
4c889e8https://github.com/python/cpython/pull/145097/commits/4c889e8b75c1bc442e940853f7c852a4532aff5f
https://github.com/python/cpython/tree/4c889e8b75c1bc442e940853f7c852a4532aff5f
fix windows 32 bit: use clang -target i686-pc-windows-msvchttps://github.com/python/cpython/pull/145097/commits/aad4907d0381abc4a4b7d1acbd19454fb40fa426
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
aad4907https://github.com/python/cpython/pull/145097/commits/aad4907d0381abc4a4b7d1acbd19454fb40fa426
https://github.com/python/cpython/tree/aad4907d0381abc4a4b7d1acbd19454fb40fa426
Fix gcc warning for empty dict keys initializerhttps://github.com/python/cpython/pull/145097/commits/8e74bdcd47a10216f8fdbb56345faf8c198533e8
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
8e74bdchttps://github.com/python/cpython/pull/145097/commits/8e74bdcd47a10216f8fdbb56345faf8c198533e8
https://github.com/python/cpython/tree/8e74bdcd47a10216f8fdbb56345faf8c198533e8
gh-0: Fix dict empty keys initializer braceshttps://github.com/python/cpython/pull/145097/commits/b82ae49a3ccf93dc4b390aeb53f4875e659b2f7c
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
b82ae49https://github.com/python/cpython/pull/145097/commits/b82ae49a3ccf93dc4b390aeb53f4875e659b2f7c
https://github.com/python/cpython/tree/b82ae49a3ccf93dc4b390aeb53f4875e659b2f7c
Merge branch 'main' into gh-142889https://github.com/python/cpython/pull/145097/commits/4210757ef294d8a77fce6bda92f8d10e53783fbe
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
4210757https://github.com/python/cpython/pull/145097/commits/4210757ef294d8a77fce6bda92f8d10e53783fbe
https://github.com/python/cpython/tree/4210757ef294d8a77fce6bda92f8d10e53783fbe
Merge branch 'main' into gh-142889https://github.com/python/cpython/pull/145097/commits/750c33b2692f9358cda08f4142b02d694984cd8c
https://github.com/clintonsteiner
clintonsteinerhttps://github.com/python/cpython/commits?author=clintonsteiner
750c33bhttps://github.com/python/cpython/pull/145097/commits/750c33b2692f9358cda08f4142b02d694984cd8c
https://github.com/python/cpython/tree/750c33b2692f9358cda08f4142b02d694984cd8c
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.