René's URL Explorer Experiment


Title: Remove Frame mutex and use DataStack bump allocator for LocalsPlus by youknowone · Pull Request #7333 · RustPython/RustPython · GitHub

Open Graph Title: Remove Frame mutex and use DataStack bump allocator for LocalsPlus by youknowone · Pull Request #7333 · RustPython/RustPython

X Title: Remove Frame mutex and use DataStack bump allocator for LocalsPlus by youknowone · Pull Request #7333 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: Summary by CodeRabbit Refactor Reworked frame/local storage to unify locals and evaluation stack for leaner execution. Performance Added a fast, bump-allocating data stack to reduce allocati...

X Description: Summary by CodeRabbit Refactor Reworked frame/local storage to unify locals and evaluation stack for leaner execution. Performance Added a fast, bump-allocating data stack to reduce allocati...

Opengraph URL: https://github.com/RustPython/RustPython/pull/7333

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:7192261f-8818-6442-74c0-782412f370a7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD72C:16740B:67019A:8769FC:6A5B3211
html-safe-nonce31255130f45a9b107ae23ceaccbbc5581cc4a6d3060541bf5aba34f67985319c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzJDOjE2NzQwQjo2NzAxOUE6ODc2OUZDOjZBNUIzMjExIiwidmlzaXRvcl9pZCI6IjE4Mzg0MzA4NDI2ODQ5MTIxNDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac89e0470b709fcde4a759781b41cd015f142d87d47c081a0dfabff62cee616652
hovercard-subject-tagpull_request:3349140368
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/RustPython/RustPython/pull/7333/commits
twitter:imagehttps://opengraph.githubassets.com/c1ff343e6fbd7665f52c04d95cbd62dc46ac1812dd3a4b964b2a777bb960eb5f/RustPython/RustPython/pull/7333
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c1ff343e6fbd7665f52c04d95cbd62dc46ac1812dd3a4b964b2a777bb960eb5f/RustPython/RustPython/pull/7333
og:image:altSummary by CodeRabbit Refactor Reworked frame/local storage to unify locals and evaluation stack for leaner execution. Performance Added a fast, bump-allocating data stack to reduce allocati...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyouknowone
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/7333/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7333%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%2FRustPython%2FRustPython%2Fpull%2F7333%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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/7333/commits
Reloadhttps://github.com/RustPython/RustPython/pull/7333/commits
Reloadhttps://github.com/RustPython/RustPython/pull/7333/commits
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7333/commits
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 291 https://github.com/RustPython/RustPython/issues
Pull requests 101 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:worktree-frame-datastackhttps://github.com/youknowone/RustPython/tree/worktree-frame-datastack
Conversationhttps://github.com/RustPython/RustPython/pull/7333
Commits14 (14)https://github.com/RustPython/RustPython/pull/7333/commits
Checkshttps://github.com/RustPython/RustPython/pull/7333/checks
Files changedhttps://github.com/RustPython/RustPython/pull/7333/files
Remove Frame mutex and use DataStack bump allocator for LocalsPlushttps://github.com/RustPython/RustPython/pull/7333/commits#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:worktree-frame-datastackhttps://github.com/youknowone/RustPython/tree/worktree-frame-datastack
Remove PyMutex from Frame, use UnsafeCell fields directlyhttps://github.com/RustPython/RustPython/pull/7333/commits/f869c353cd0c379fbc198c33093010d43103c890
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
f869c35https://github.com/RustPython/RustPython/pull/7333/commits/f869c353cd0c379fbc198c33093010d43103c890
https://github.com/RustPython/RustPython/tree/f869c353cd0c379fbc198c33093010d43103c890
Add thread-local DataStack for bump-allocating frame datahttps://github.com/RustPython/RustPython/pull/7333/commits/85df41e708fbcf514324849dca3e0e712f4ceaab
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
85df41ehttps://github.com/RustPython/RustPython/pull/7333/commits/85df41e708fbcf514324849dca3e0e712f4ceaab
https://github.com/RustPython/RustPython/tree/85df41e708fbcf514324849dca3e0e712f4ceaab
Unify FastLocals and BoxVec stack into LocalsPlushttps://github.com/RustPython/RustPython/pull/7333/commits/e286597ac2e99f7de68fb0b3cc09bd810c05ef09
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
e286597https://github.com/RustPython/RustPython/pull/7333/commits/e286597ac2e99f7de68fb0b3cc09bd810c05ef09
https://github.com/RustPython/RustPython/tree/e286597ac2e99f7de68fb0b3cc09bd810c05ef09
Use DataStack for LocalsPlus in non-generator function callshttps://github.com/RustPython/RustPython/pull/7333/commits/9dbe95d7ea80f8fa9e39299c9bdd3d4473ac1971
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
9dbe95dhttps://github.com/RustPython/RustPython/pull/7333/commits/9dbe95d7ea80f8fa9e39299c9bdd3d4473ac1971
https://github.com/RustPython/RustPython/tree/9dbe95d7ea80f8fa9e39299c9bdd3d4473ac1971
Fix clippy: import Layout from core::alloc instead of alloc::allochttps://github.com/RustPython/RustPython/pull/7333/commits/a5981f0b226ae0921765646f8224a4ce81ab1c1d
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
a5981f0https://github.com/RustPython/RustPython/pull/7333/commits/a5981f0b226ae0921765646f8224a4ce81ab1c1d
https://github.com/RustPython/RustPython/tree/a5981f0b226ae0921765646f8224a4ce81ab1c1d
Fix vectorcall compatibility with LocalsPlus APIhttps://github.com/RustPython/RustPython/pull/7333/commits/938fdf72e0c35ea74f0ea716b8296f2e6bc6cd0c
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
938fdf7https://github.com/RustPython/RustPython/pull/7333/commits/938fdf72e0c35ea74f0ea716b8296f2e6bc6cd0c
https://github.com/RustPython/RustPython/tree/938fdf72e0c35ea74f0ea716b8296f2e6bc6cd0c
Add datastack, nlocalsplus, ncells, tstate to cspell dictionaryhttps://github.com/RustPython/RustPython/pull/7333/commits/fa49f5daec75bda10337a64f527309e0f9e4641c
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
fa49f5dhttps://github.com/RustPython/RustPython/pull/7333/commits/fa49f5daec75bda10337a64f527309e0f9e4641c
https://github.com/RustPython/RustPython/tree/fa49f5daec75bda10337a64f527309e0f9e4641c
Fix DataStack pop() for non-monotonic allocation addresseshttps://github.com/RustPython/RustPython/pull/7333/commits/6a6e90da7e74010857e92e50d3bc2d7bd508ac3c
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
6a6e90dhttps://github.com/RustPython/RustPython/pull/7333/commits/6a6e90da7e74010857e92e50d3bc2d7bd508ac3c
https://github.com/RustPython/RustPython/tree/6a6e90da7e74010857e92e50d3bc2d7bd508ac3c
Fix stale comments: release_datastack -> materialize_localsplushttps://github.com/RustPython/RustPython/pull/7333/commits/2cc6b583ad598fec4d2d783e299e9447b9cd1ddb
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
2cc6b58https://github.com/RustPython/RustPython/pull/7333/commits/2cc6b583ad598fec4d2d783e299e9447b9cd1ddb
https://github.com/RustPython/RustPython/tree/2cc6b583ad598fec4d2d783e299e9447b9cd1ddb
Fix non-threading mode for parallel test executionhttps://github.com/RustPython/RustPython/pull/7333/commits/f300ff313083635786a24aeac84cd736eca4290f
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
f300ff3https://github.com/RustPython/RustPython/pull/7333/commits/f300ff313083635786a24aeac84cd736eca4290f
https://github.com/RustPython/RustPython/tree/f300ff313083635786a24aeac84cd736eca4290f
Fix CallAllocAndEnterInit to use LocalsPlus stack APIhttps://github.com/RustPython/RustPython/pull/7333/commits/927269c0c15bb48eca32cf4d213803ba801f94b6
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
927269chttps://github.com/RustPython/RustPython/pull/7333/commits/927269c0c15bb48eca32cf4d213803ba801f94b6
https://github.com/RustPython/RustPython/tree/927269c0c15bb48eca32cf4d213803ba801f94b6
Use checked arithmetic in LocalsPlus and DataStack allocatorshttps://github.com/RustPython/RustPython/pull/7333/commits/e8d94bb74e58c2bab2d47f023374202cbb019b7c
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
e8d94bbhttps://github.com/RustPython/RustPython/pull/7333/commits/e8d94bb74e58c2bab2d47f023374202cbb019b7c
https://github.com/RustPython/RustPython/tree/e8d94bb74e58c2bab2d47f023374202cbb019b7c
Address code review: checked arithmetic, threading feature deps, Send gatehttps://github.com/RustPython/RustPython/pull/7333/commits/16778fc435163126c06f287a70bb645f94ffb8f1
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
16778fchttps://github.com/RustPython/RustPython/pull/7333/commits/16778fc435163126c06f287a70bb645f94ffb8f1
https://github.com/RustPython/RustPython/tree/16778fc435163126c06f287a70bb645f94ffb8f1
Clean up comments: remove redundant/stale remarks, fix CPython referenceshttps://github.com/RustPython/RustPython/pull/7333/commits/22df0c60a0849bd332c921c1be574aa0811eb07b
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
22df0c6https://github.com/RustPython/RustPython/pull/7333/commits/22df0c60a0849bd332c921c1be574aa0811eb07b
https://github.com/RustPython/RustPython/tree/22df0c60a0849bd332c921c1be574aa0811eb07b
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.