René's URL Explorer Experiment


Title: Flatten Python eval loop with trampoline for reduced call overhead by youknowone · Pull Request #8431 · RustPython/RustPython · GitHub

Open Graph Title: Flatten Python eval loop with trampoline for reduced call overhead by youknowone · Pull Request #8431 · RustPython/RustPython

X Title: Flatten Python eval loop with trampoline for reduced call overhead by youknowone · Pull Request #8431 · RustPython/RustPython

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

Open Graph Description: Summary Flatten the Python-to-Python call path so that CallPyExactArgs and CallBoundMethodExactArgs no longer recurse through new Rust stack frames. Instead, the bytecode loop returns a TailCall si...

X Description: Summary Flatten the Python-to-Python call path so that CallPyExactArgs and CallBoundMethodExactArgs no longer recurse through new Rust stack frames. Instead, the bytecode loop returns a TailCall si...

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

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:f2a141ff-eb5e-49b7-11be-72bbe246246e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEDD4:A70A9:11C26F8:17831EC:6B01E6F3
html-safe-nonce6c06c5f7ed721509c38b61691e28dd9dbb059a8b8f84a2882649d46c41311cb8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREQ0OkE3MEE5OjExQzI2Rjg6MTc4MzFFQzo2QjAxRTZGMyIsInZpc2l0b3JfaWQiOiI0NTM5MDc0OTU4NDk2ODI2NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc36ae9efcdfca7b09ee488bf0feca2c0f5847677b4bb60611c4dabda22bd5922
hovercard-subject-tagpull_request:4187149872
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/8431/commits
twitter:imagehttps://opengraph.githubassets.com/b85efda1a37e2cd74804210cf04b609b51415efbde2f13d78a747ca068f2f43c/RustPython/RustPython/pull/8431
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b85efda1a37e2cd74804210cf04b609b51415efbde2f13d78a747ca068f2f43c/RustPython/RustPython/pull/8431
og:image:altSummary Flatten the Python-to-Python call path so that CallPyExactArgs and CallBoundMethodExactArgs no longer recurse through new Rust stack frames. Instead, the bytecode loop returns a TailCall si...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyouknowone
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/8431/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8431%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%2FRustPython%2FRustPython%2Fpull%2F8431%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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/8431/commits
Reloadhttps://github.com/RustPython/RustPython/pull/8431/commits
Reloadhttps://github.com/RustPython/RustPython/pull/8431/commits
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests133 (133)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
https://github.com/RustPython/RustPython
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:flatten-eval-loophttps://github.com/youknowone/RustPython/tree/flatten-eval-loop
Conversationhttps://github.com/RustPython/RustPython/pull/8431
Commits10 (10)https://github.com/RustPython/RustPython/pull/8431/commits
Checkshttps://github.com/RustPython/RustPython/pull/8431/checks
Files changedhttps://github.com/RustPython/RustPython/pull/8431/files
Flatten Python eval loop with trampoline for reduced call overheadhttps://github.com/RustPython/RustPython/pull/8431/commits#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:flatten-eval-loophttps://github.com/youknowone/RustPython/tree/flatten-eval-loop
Factor with_iframe into enter_iframe/exit_iframe helpershttps://github.com/RustPython/RustPython/pull/8431/commits/2fc29ced2f9a391bc973f7745b8c33fff4bd6787
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
2fc29cehttps://github.com/RustPython/RustPython/pull/8431/commits/2fc29ced2f9a391bc973f7745b8c33fff4bd6787
https://github.com/RustPython/RustPython/tree/2fc29ced2f9a391bc973f7745b8c33fff4bd6787
Allocate InterpreterFrame and LocalsPlus together on the datastackhttps://github.com/RustPython/RustPython/pull/8431/commits/b581c9007515358f1b10f4946e6bba33ac2dde1f
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
b581c90https://github.com/RustPython/RustPython/pull/8431/commits/b581c9007515358f1b10f4946e6bba33ac2dde1f
https://github.com/RustPython/RustPython/tree/b581c9007515358f1b10f4946e6bba33ac2dde1f
Implement trampoline loop for Python-to-Python callshttps://github.com/RustPython/RustPython/pull/8431/commits/b089987cfabe8ec96492f2717888bee880ea797e
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
b089987https://github.com/RustPython/RustPython/pull/8431/commits/b089987cfabe8ec96492f2717888bee880ea797e
https://github.com/RustPython/RustPython/tree/b089987cfabe8ec96492f2717888bee880ea797e
Optimize trampoline: skip recursion check, avoid temporary_refs mutex, add bound method TailCallhttps://github.com/RustPython/RustPython/pull/8431/commits/cdc0d32ed9d6b739b2a311ddc5fbe384c7608cea
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
cdc0d32https://github.com/RustPython/RustPython/pull/8431/commits/cdc0d32ed9d6b739b2a311ddc5fbe384c7608cea
https://github.com/RustPython/RustPython/tree/cdc0d32ed9d6b739b2a311ddc5fbe384c7608cea
Use UnsafeCell for pending_tailcall_refshttps://github.com/RustPython/RustPython/pull/8431/commits/d00c2506f08e54764589fac844a716ac829fbeeb
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
d00c250https://github.com/RustPython/RustPython/pull/8431/commits/d00c2506f08e54764589fac844a716ac829fbeeb
https://github.com/RustPython/RustPython/tree/d00c2506f08e54764589fac844a716ac829fbeeb
Remove .claude/settings.json from trackinghttps://github.com/RustPython/RustPython/pull/8431/commits/e0fea234d2b07aeed470eafd39d8dce8beec4326
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
e0fea23https://github.com/RustPython/RustPython/pull/8431/commits/e0fea234d2b07aeed470eafd39d8dce8beec4326
https://github.com/RustPython/RustPython/tree/e0fea234d2b07aeed470eafd39d8dce8beec4326
Replace SendPtr with Option for type-safe pending tailcallhttps://github.com/RustPython/RustPython/pull/8431/commits/80028a80a68c74c4a359240d21cb75d8750e52ae
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
80028a8https://github.com/RustPython/RustPython/pull/8431/commits/80028a80a68c74c4a359240d21cb75d8750e52ae
https://github.com/RustPython/RustPython/tree/80028a80a68c74c4a359240d21cb75d8750e52ae
Restrict PendingFrame to private, expose only set/take methodshttps://github.com/RustPython/RustPython/pull/8431/commits/0bb5668d30ae58b3a6eca770745ad2a852fb2a17
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
0bb5668https://github.com/RustPython/RustPython/pull/8431/commits/0bb5668d30ae58b3a6eca770745ad2a852fb2a17
https://github.com/RustPython/RustPython/tree/0bb5668d30ae58b3a6eca770745ad2a852fb2a17
Restore C-stack overflow check in trampoline enter_iframe_uncheckedhttps://github.com/RustPython/RustPython/pull/8431/commits/a561f48367935ad2ae01c7f4019ee3c402107440
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
a561f48https://github.com/RustPython/RustPython/pull/8431/commits/a561f48367935ad2ae01c7f4019ee3c402107440
https://github.com/RustPython/RustPython/tree/a561f48367935ad2ae01c7f4019ee3c402107440
Address code review: entry frame double-free, panic safety, cleanuphttps://github.com/RustPython/RustPython/pull/8431/commits/a2e9a49e70380a79172b2f63c02ecde096f87f28
https://github.com/youknowone
youknowonehttps://github.com/RustPython/RustPython/commits?author=youknowone
a2e9a49https://github.com/RustPython/RustPython/pull/8431/commits/a2e9a49e70380a79172b2f63c02ecde096f87f28
https://github.com/RustPython/RustPython/tree/a2e9a49e70380a79172b2f63c02ecde096f87f28
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.