René's URL Explorer Experiment


Title: gh-115999: Refactor `LOAD_GLOBAL` specializations to avoid reloading {globals, builtins} keys by mpage · Pull Request #124953 · python/cpython · GitHub

Open Graph Title: gh-115999: Refactor `LOAD_GLOBAL` specializations to avoid reloading {globals, builtins} keys by mpage · Pull Request #124953 · python/cpython

X Title: gh-115999: Refactor `LOAD_GLOBAL` specializations to avoid reloading {globals, builtins} keys by mpage · Pull Request #124953 · python/cpython

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

Open Graph Description: Each of the LOAD_GLOBAL specializations is implemented roughly as: Load keys version. Load cached keys version. Deopt if (1) and (2) don't match. Load keys. Load cached index into keys. Load o...

X Description: Each of the LOAD_GLOBAL specializations is implemented roughly as: Load keys version. Load cached keys version. Deopt if (1) and (2) don't match. Load keys. Load cached index into keys. Lo...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:59d1fa8c-fe23-6831-ec6a-693238b25658
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F70:76A99:1A3210D:2484967:6A55E867
html-safe-nonce6ced0169c1a6273a4864482c23384a490a88bac911a2189ca8607385c807e10f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjcwOjc2QTk5OjFBMzIxMEQ6MjQ4NDk2Nzo2QTU1RTg2NyIsInZpc2l0b3JfaWQiOiI2MTI4NDY4MjgwNzMyOTM2Mjk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6973813e9b772c19ae7f6cae69628c157c133da787646f5190b3ca3dd53d4e3f
hovercard-subject-tagpull_request:2106459854
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/124953/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/46301aac45d73e34ed1ed2b5e2db82726b16e5c15afc730c6956542e5a068203/python/cpython/pull/124953
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/46301aac45d73e34ed1ed2b5e2db82726b16e5c15afc730c6956542e5a068203/python/cpython/pull/124953
og:image:altEach of the LOAD_GLOBAL specializations is implemented roughly as: Load keys version. Load cached keys version. Deopt if (1) and (2) don't match. Load keys. Load cached index into keys. Load o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamempage
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
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
release3725c7f9b2a6e3a27ef57c5aed13428c0f65e045
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/124953#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F124953
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%2F124953
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
Reloadhttps://github.com/python/cpython/pull/124953
Reloadhttps://github.com/python/cpython/pull/124953
Reloadhttps://github.com/python/cpython/pull/124953
Please reload this pagehttps://github.com/python/cpython/pull/124953
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/124953
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
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
mpage:gh-115999-refactor-load-globalhttps://github.com/mpage/cpython/tree/gh-115999-refactor-load-global
Conversationhttps://github.com/python/cpython/pull/124953
Commits6 (6)https://github.com/python/cpython/pull/124953/commits
Checkshttps://github.com/python/cpython/pull/124953/checks
Files changedhttps://github.com/python/cpython/pull/124953/files
gh-115999: Refactor LOAD_GLOBAL specializations to avoid reloading {globals, builtins} keyshttps://github.com/python/cpython/pull/124953#top
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
mpage:gh-115999-refactor-load-globalhttps://github.com/mpage/cpython/tree/gh-115999-refactor-load-global
https://github.com/mpage
mpagehttps://github.com/mpage
Oct 3, 2024https://github.com/python/cpython/pull/124953#issue-2565061368
Please reload this pagehttps://github.com/python/cpython/pull/124953
Make the specializing interpreter thread-safe in --disable-gil builds #115999https://github.com/python/cpython/issues/115999
Please reload this pagehttps://github.com/python/cpython/pull/124953
https://github.com/mpage
Refactor LOAD_GLOBAL specializations to avoid reloading {globals, b…https://github.com/python/cpython/pull/124953/commits/0a98bc0c7cacddd81be96dea064ffff9ddf6b2ff
0a98bc0https://github.com/python/cpython/pull/124953/commits/0a98bc0c7cacddd81be96dea064ffff9ddf6b2ff
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 3, 2024 https://github.com/python/cpython/pull/124953#ref-issue-2157407839
Make the specializing interpreter thread-safe in --disable-gil builds #115999 https://github.com/python/cpython/issues/115999
https://github.com/mpage
mpagehttps://github.com/mpage
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Oct 3, 2024https://github.com/python/cpython/pull/124953#event-14510747963
https://github.com/mpage
mpagehttps://github.com/mpage
brandtbucherhttps://github.com/brandtbucher
October 3, 2024 22:14https://github.com/python/cpython/pull/124953#event-14510900056
https://github.com/mpage
mpagehttps://github.com/mpage
October 3, 2024 22:52https://github.com/python/cpython/pull/124953#event-14511123194
https://github.com/mpage
mpagehttps://github.com/mpage
Fidget-Spinnerhttps://github.com/Fidget-Spinner
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/c8db0e817e7e0db501533fc8bf5b30c18e60aa3d/.github/CODEOWNERS#L43
October 3, 2024 22:52https://github.com/python/cpython/pull/124953#event-14511123215
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 3, 2024https://github.com/python/cpython/pull/124953#event-14511123483
https://github.com/rruuaanng
rruuaannghttps://github.com/rruuaanng
Oct 5, 2024https://github.com/python/cpython/pull/124953#issuecomment-2394917511
Please reload this pagehttps://github.com/python/cpython/pull/124953
https://github.com/mpage
mpagehttps://github.com/mpage
colesburyhttps://github.com/colesbury
October 7, 2024 18:05https://github.com/python/cpython/pull/124953#event-14544829446
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Oct 7, 2024 https://github.com/python/cpython/pull/124953#pullrequestreview-2352833327
View reviewed changes https://github.com/python/cpython/pull/124953/files/0a98bc0c7cacddd81be96dea064ffff9ddf6b2ff
Python/bytecodes.chttps://github.com/python/cpython/pull/124953/files/0a98bc0c7cacddd81be96dea064ffff9ddf6b2ff#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
Please reload this pagehttps://github.com/python/cpython/pull/124953
Python/executor_cases.c.hhttps://github.com/python/cpython/pull/124953/files/0a98bc0c7cacddd81be96dea064ffff9ddf6b2ff#diff-a1c3430c42a66c16e6d2e154491a6da993b187b27c628545a12a02c7b2a06b81
Please reload this pagehttps://github.com/python/cpython/pull/124953
mpagehttps://github.com/mpage
October 7, 2024 16:32https://github.com/python/cpython/pull/124953#commits-pushed-d00adef
https://github.com/mpage
Sync stack pointer in ops that consume keyshttps://github.com/python/cpython/pull/124953/commits/d00adeffb868e697ff5f66754422f23bf67aff36
d00adefhttps://github.com/python/cpython/pull/124953/commits/d00adeffb868e697ff5f66754422f23bf67aff36
https://github.com/mpage
Merge branch 'main' intohttps://github.com/python/cpython/pull/124953/commits/e68f7e024f0fca54155fc7be91ec4cdb680a97a3
pythongh-115999https://github.com/python/cpython/issues/115999
-refactor-load-globalhttps://github.com/python/cpython/pull/124953/commits/e68f7e024f0fca54155fc7be91ec4cdb680a97a3
e68f7e0https://github.com/python/cpython/pull/124953/commits/e68f7e024f0fca54155fc7be91ec4cdb680a97a3
https://github.com/mpage
Mark keys deadhttps://github.com/python/cpython/pull/124953/commits/7a682ccb5353aac430fe2c91cd527336a38641cc
7a682cchttps://github.com/python/cpython/pull/124953/commits/7a682ccb5353aac430fe2c91cd527336a38641cc
https://github.com/mpage
mpagehttps://github.com/mpage
colesburyhttps://github.com/colesbury
October 7, 2024 23:57https://github.com/python/cpython/pull/124953#event-14548227312
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Oct 8, 2024 https://github.com/python/cpython/pull/124953#pullrequestreview-2353183885
View reviewed changes https://github.com/python/cpython/pull/124953/files/7a682ccb5353aac430fe2c91cd527336a38641cc
Python/optimizer_cases.c.hhttps://github.com/python/cpython/pull/124953/files/7a682ccb5353aac430fe2c91cd527336a38641cc#diff-ed4567b3e67709ec57bf4df91ef058cfcbe00d7da11cd2a75e38241fa1ca99d2
Please reload this pagehttps://github.com/python/cpython/pull/124953
https://github.com/mpage
Fix compiler warning in optimizer_cases.c.hhttps://github.com/python/cpython/pull/124953/commits/93f121bff00e49b7209285740dbf81bc291345e5
93f121bhttps://github.com/python/cpython/pull/124953/commits/93f121bff00e49b7209285740dbf81bc291345e5
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Oct 8, 2024 https://github.com/python/cpython/pull/124953#pullrequestreview-2355061579
View reviewed changes https://github.com/python/cpython/pull/124953/files/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22
colesburyhttps://github.com/colesbury
https://github.com/python/cpython/pull/124953#pullrequestreview-2355061579
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
x86_64-pc-windows-msvc/msvc (Release)https://github.com/python/cpython/actions/runs/11228012398/job/31211363688?pr=124953#logs
Please reload this pagehttps://github.com/python/cpython/pull/124953
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 8, 2024https://github.com/python/cpython/pull/124953#event-14560192784
https://github.com/colesbury
Merge branch 'main' intohttps://github.com/python/cpython/pull/124953/commits/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22
pythongh-115999https://github.com/python/cpython/issues/115999
-refactor-load-globalhttps://github.com/python/cpython/pull/124953/commits/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22
d41b85ahttps://github.com/python/cpython/pull/124953/commits/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22
https://github.com/colesbury
colesburyhttps://github.com/colesbury
October 9, 2024 14:50https://github.com/python/cpython/pull/124953#event-14574460157
https://github.com/colesbury
colesburyhttps://github.com/colesbury
f978fb4https://github.com/python/cpython/commit/f978fb4f8d6eac0585057e463bb1701dc04a9900
Oct 9, 2024https://github.com/python/cpython/pull/124953#event-14574948639
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 9, 2024https://github.com/python/cpython/pull/124953#event-14574949585
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 10, 2024 https://github.com/python/cpython/pull/124953#pullrequestreview-2357425090
View reviewed changes https://github.com/python/cpython/pull/124953/files/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22
markshannonhttps://github.com/markshannon
https://github.com/python/cpython/pull/124953#pullrequestreview-2357425090
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124953
Python/optimizer_analysis.chttps://github.com/python/cpython/pull/124953/files/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22#diff-eac5ab7e741b8b825a24d31a5bf844e86086431fb698cfcabe1277b68c375ca2
markshannonhttps://github.com/markshannon
Oct 9, 2024https://github.com/python/cpython/pull/124953#discussion_r1793688853
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124953
Python/bytecodes.chttps://github.com/python/cpython/pull/124953/files/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
markshannonhttps://github.com/markshannon
Oct 9, 2024https://github.com/python/cpython/pull/124953#discussion_r1793744906
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124953
Python/bytecodes.chttps://github.com/python/cpython/pull/124953/files/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342
markshannonhttps://github.com/markshannon
Oct 9, 2024https://github.com/python/cpython/pull/124953#discussion_r1793745115
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124953
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 10, 2024https://github.com/python/cpython/pull/124953#issuecomment-2404833352
Please reload this pagehttps://github.com/python/cpython/pull/124953
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F124953
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/python/cpython/pull/124953/files/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22
https://github.com/colesbury
colesbury https://github.com/colesbury
https://github.com/python/cpython/pull/124953/files/d41b85a44a19c5ad1800c4197ca3733ce9d7bc22
https://github.com/brandtbucher
brandtbucher https://github.com/brandtbucher
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/124953
https://github.com/mpage
https://github.com/rruuaanng
https://github.com/markshannon
https://github.com/colesbury
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.