René's URL Explorer Experiment


Title: bpo-44032: Move data stack to thread from FrameObject. by markshannon · Pull Request #26076 · python/cpython · GitHub

Open Graph Title: bpo-44032: Move data stack to thread from FrameObject. by markshannon · Pull Request #26076 · python/cpython

X Title: bpo-44032: Move data stack to thread from FrameObject. by markshannon · Pull Request #26076 · python/cpython

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

Open Graph Description: Move local, cell and free variables, plus the evaluation stack to the thread. Cuts down the size of frames to under 100 bytes, and enables further optimizations of Python-to-Python calls. https://...

X Description: Move local, cell and free variables, plus the evaluation stack to the thread. Cuts down the size of frames to under 100 bytes, and enables further optimizations of Python-to-Python calls. https://...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:d03c9a0a-8a35-06af-f4d3-810fa20c1cbc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id89F4:28A483:200BA93:2A34401:6B023B3C
html-safe-noncebfbee233f49a321c91c76994ac8e595fd42b37368df6421b32e207bd80734e40
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUY0OjI4QTQ4MzoyMDBCQTkzOjJBMzQ0MDE6NkIwMjNCM0MiLCJ2aXNpdG9yX2lkIjoiMjc2MTMxOTAyNzExOTg5NzQwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2477ddc3ecb0ed1573759eb04ce8f5edc7e7df3ae87e915df478c529913cab60
hovercard-subject-tagpull_request:643338682
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/26076/commits
twitter:imagehttps://opengraph.githubassets.com/5507404d34d35932fb22af7585cc35ffe734e468e8e5c65b9219b60f7968ac1f/python/cpython/pull/26076
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5507404d34d35932fb22af7585cc35ffe734e468e8e5c65b9219b60f7968ac1f/python/cpython/pull/26076
og:image:altMove local, cell and free variables, plus the evaluation stack to the thread. Cuts down the size of frames to under 100 bytes, and enables further optimizations of Python-to-Python calls. https://...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/26076/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26076%2Fcommits
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26076%2Fcommits
Sign uphttps://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/26076/commits
Reloadhttps://github.com/python/cpython/pull/26076/commits
Reloadhttps://github.com/python/cpython/pull/26076/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:datastack-on-threadhttps://github.com/faster-cpython/cpython/tree/datastack-on-thread
Conversationhttps://github.com/python/cpython/pull/26076
Commits21 (21)https://github.com/python/cpython/pull/26076/commits
Checkshttps://github.com/python/cpython/pull/26076/checks
Files changedhttps://github.com/python/cpython/pull/26076/files
bpo-44032: Move data stack to thread from FrameObject.https://github.com/python/cpython/pull/26076/commits#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:datastack-on-threadhttps://github.com/faster-cpython/cpython/tree/datastack-on-thread
Remove 'zombie' frames. We won't need them once we are allocating fixed-size frames.https://github.com/python/cpython/pull/26076/commits/65349e5bad19f1f3bae85d9fe95b00d1e4040fd6
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
65349e5https://github.com/python/cpython/pull/26076/commits/65349e5bad19f1f3bae85d9fe95b00d1e4040fd6
https://github.com/python/cpython/tree/65349e5bad19f1f3bae85d9fe95b00d1e4040fd6
Add co_nlocalplus field to code object to avoid recomputing size of locals + frees + cells.https://github.com/python/cpython/pull/26076/commits/c1ac3ef2a2a76dda219ada9aec074c41b4e8379b
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
c1ac3efhttps://github.com/python/cpython/pull/26076/commits/c1ac3ef2a2a76dda219ada9aec074c41b4e8379b
https://github.com/python/cpython/tree/c1ac3ef2a2a76dda219ada9aec074c41b4e8379b
Move locals, cells and freevars out of frame object into separate memory buffer.https://github.com/python/cpython/pull/26076/commits/431e1cbef279274d0a805c07709b7eb34f63305d
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
431e1cbhttps://github.com/python/cpython/pull/26076/commits/431e1cbef279274d0a805c07709b7eb34f63305d
https://github.com/python/cpython/tree/431e1cbef279274d0a805c07709b7eb34f63305d
Use per-threadstate allocated memory chunks for local variables. Dumb and slow implementation.https://github.com/python/cpython/pull/26076/commits/24a77d8be32ab1cb6908096e8b6094cc9021251f
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
24a77d8https://github.com/python/cpython/pull/26076/commits/24a77d8be32ab1cb6908096e8b6094cc9021251f
https://github.com/python/cpython/tree/24a77d8be32ab1cb6908096e8b6094cc9021251f
Make per-thread data-stack a contiguous block of memory.https://github.com/python/cpython/pull/26076/commits/19ac31a822ccd49bae196e04737baf94c2cd418d
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
19ac31ahttps://github.com/python/cpython/pull/26076/commits/19ac31a822ccd49bae196e04737baf94c2cd418d
https://github.com/python/cpython/tree/19ac31a822ccd49bae196e04737baf94c2cd418d
Add comments about data stack sizes.https://github.com/python/cpython/pull/26076/commits/2d1a9db1c1da252db34da0d7115c7efbcaf5839d
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
2d1a9dbhttps://github.com/python/cpython/pull/26076/commits/2d1a9db1c1da252db34da0d7115c7efbcaf5839d
https://github.com/python/cpython/tree/2d1a9db1c1da252db34da0d7115c7efbcaf5839d
Use chunked stack, allows larger stack when needed with reduced memory use most of the time.https://github.com/python/cpython/pull/26076/commits/73c49d5aa53c8ebe0b23e3dafe3f0ad91b0a8dcf
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
73c49d5https://github.com/python/cpython/pull/26076/commits/73c49d5aa53c8ebe0b23e3dafe3f0ad91b0a8dcf
https://github.com/python/cpython/tree/73c49d5aa53c8ebe0b23e3dafe3f0ad91b0a8dcf
Delete obsolete comment and debug print statementshttps://github.com/python/cpython/pull/26076/commits/8a9ae0156310962abb630a339e53083311404cd0
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
8a9ae01https://github.com/python/cpython/pull/26076/commits/8a9ae0156310962abb630a339e53083311404cd0
https://github.com/python/cpython/tree/8a9ae0156310962abb630a339e53083311404cd0
Move globals and builtins from frame object to per-thread stack.https://github.com/python/cpython/pull/26076/commits/5a4803c2cdbc9b043d5d7789b7842cc418ecf3d7
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
5a4803chttps://github.com/python/cpython/pull/26076/commits/5a4803c2cdbc9b043d5d7789b7842cc418ecf3d7
https://github.com/python/cpython/tree/5a4803c2cdbc9b043d5d7789b7842cc418ecf3d7
Move (slow) locals frame object to per-thread stack.https://github.com/python/cpython/pull/26076/commits/a5553931ca7904258d59f91232a8212449b0901f
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
a555393https://github.com/python/cpython/pull/26076/commits/a5553931ca7904258d59f91232a8212449b0901f
https://github.com/python/cpython/tree/a5553931ca7904258d59f91232a8212449b0901f
Add back comment.https://github.com/python/cpython/pull/26076/commits/f238598336d137696cf832e2f896e5c00bd7bf9b
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
f238598https://github.com/python/cpython/pull/26076/commits/f238598336d137696cf832e2f896e5c00bd7bf9b
https://github.com/python/cpython/tree/f238598336d137696cf832e2f896e5c00bd7bf9b
Fix limit when popping block from data stack.https://github.com/python/cpython/pull/26076/commits/6cab045c1357f9e08eb3327a36d0ad9f7aed4bdd
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
6cab045https://github.com/python/cpython/pull/26076/commits/6cab045c1357f9e08eb3327a36d0ad9f7aed4bdd
https://github.com/python/cpython/tree/6cab045c1357f9e08eb3327a36d0ad9f7aed4bdd
Tidy up frame creation a bit.https://github.com/python/cpython/pull/26076/commits/89f9496116d384b909177e0840d5542c11973a7f
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
89f9496https://github.com/python/cpython/pull/26076/commits/89f9496116d384b909177e0840d5542c11973a7f
https://github.com/python/cpython/tree/89f9496116d384b909177e0840d5542c11973a7f
Improve function namehttps://github.com/python/cpython/pull/26076/commits/0091341eec5eb439152d4c0281cee40eafb65042
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
0091341https://github.com/python/cpython/pull/26076/commits/0091341eec5eb439152d4c0281cee40eafb65042
https://github.com/python/cpython/tree/0091341eec5eb439152d4c0281cee40eafb65042
Make sure datastack memory is freed after fork.https://github.com/python/cpython/pull/26076/commits/2c149399eed80bd83563e1ea01f41e2ffeb0d627
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
2c14939https://github.com/python/cpython/pull/26076/commits/2c149399eed80bd83563e1ea01f41e2ffeb0d627
https://github.com/python/cpython/tree/2c149399eed80bd83563e1ea01f41e2ffeb0d627
Fix compiler warnings.https://github.com/python/cpython/pull/26076/commits/ed93a22f51eaabfa19193125eb66a40e570de649
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
ed93a22https://github.com/python/cpython/pull/26076/commits/ed93a22f51eaabfa19193125eb66a40e570de649
https://github.com/python/cpython/tree/ed93a22f51eaabfa19193125eb66a40e570de649
Add NEWS itemhttps://github.com/python/cpython/pull/26076/commits/920418970ce13a5fb10db88de068f023c680a917
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
9204189https://github.com/python/cpython/pull/26076/commits/920418970ce13a5fb10db88de068f023c680a917
https://github.com/python/cpython/tree/920418970ce13a5fb10db88de068f023c680a917
Move internal frame functions to internal header.https://github.com/python/cpython/pull/26076/commits/4e60017f1c6064addf51f6f7f338373a08a96d13
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
4e60017https://github.com/python/cpython/pull/26076/commits/4e60017f1c6064addf51f6f7f338373a08a96d13
https://github.com/python/cpython/tree/4e60017f1c6064addf51f6f7f338373a08a96d13
Fix compiler warninghttps://github.com/python/cpython/pull/26076/commits/7c53a6f539b1ca3a9335c3b10a568786b36a286b
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
7c53a6fhttps://github.com/python/cpython/pull/26076/commits/7c53a6f539b1ca3a9335c3b10a568786b36a286b
https://github.com/python/cpython/tree/7c53a6f539b1ca3a9335c3b10a568786b36a286b
Add missing comment.https://github.com/python/cpython/pull/26076/commits/61c3753a89a9ab0ff3a25fa3b362dfb17191e0e2
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
61c3753https://github.com/python/cpython/pull/26076/commits/61c3753a89a9ab0ff3a25fa3b362dfb17191e0e2
https://github.com/python/cpython/tree/61c3753a89a9ab0ff3a25fa3b362dfb17191e0e2
Add comment about what _PyObject_VirtualAlloc does.https://github.com/python/cpython/pull/26076/commits/c5ccb7d9c5052bf5a5f813a0399e1aa85f00728a
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
c5ccb7dhttps://github.com/python/cpython/pull/26076/commits/c5ccb7d9c5052bf5a5f813a0399e1aa85f00728a
https://github.com/python/cpython/tree/c5ccb7d9c5052bf5a5f813a0399e1aa85f00728a
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.