René's URL Explorer Experiment


Title: DRAFT: limited call inlining by gvanrossum · Pull Request #116257 · python/cpython · GitHub

Open Graph Title: DRAFT: limited call inlining by gvanrossum · Pull Request #116257 · python/cpython

X Title: DRAFT: limited call inlining by gvanrossum · Pull Request #116257 · python/cpython

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

Open Graph Description: Hey @Fidget-Spinner, I had a rainy day, so here's a very crude implementation of my idea for call inlining without frame reconstruction (only for some very limited cases). I learned a bunch of ...

X Description: Hey @Fidget-Spinner, I had a rainy day, so here's a very crude implementation of my idea for call inlining without frame reconstruction (only for some very limited cases). I learned a bunch...

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

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:bef39ed1-5274-5c0c-22b5-346d4250b8a6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE418:222DB7:325067:43F718:6A568F13
html-safe-nonce155f6be4034edbb1316794739b540c393f88518bdc26abc0218cafbfff6c5854
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDE4OjIyMkRCNzozMjUwNjc6NDNGNzE4OjZBNTY4RjEzIiwidmlzaXRvcl9pZCI6Ijg5NTczMzc5ODkwNDgzNDAyNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc33a736bf271aac52c58daf9ec1deb9dfdbd34c5a7f0d83bdc0717c3c6a36a54
hovercard-subject-tagpull_request:1753151059
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/116257/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4859874a8afe9777726c08f1a1ab5f7158ca53df8a050c826f425803d7bdc8b9/python/cpython/pull/116257
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4859874a8afe9777726c08f1a1ab5f7158ca53df8a050c826f425803d7bdc8b9/python/cpython/pull/116257
og:image:altHey @Fidget-Spinner, I had a rainy day, so here's a very crude implementation of my idea for call inlining without frame reconstruction (only for some very limited cases). I learned a bunch of ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegvanrossum
hostnamegithub.com
expected-hostnamegithub.com
None8f21be8503ba8fe6154df415b855c03af52eae3f285bd6ae1fef041dc053da38
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
release78af172a48a2056810bb627ffa684003e4f9a5ca
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/116257#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F116257
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%2F116257
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/116257
Reloadhttps://github.com/python/cpython/pull/116257
Reloadhttps://github.com/python/cpython/pull/116257
Please reload this pagehttps://github.com/python/cpython/pull/116257
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/116257
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
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
gvanrossum:inline-callshttps://github.com/gvanrossum/cpython/tree/inline-calls
Conversationhttps://github.com/python/cpython/pull/116257
Commits12 (12)https://github.com/python/cpython/pull/116257/commits
Checkshttps://github.com/python/cpython/pull/116257/checks
Files changedhttps://github.com/python/cpython/pull/116257/files
DRAFT: limited call inlininghttps://github.com/python/cpython/pull/116257#top
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
gvanrossum:inline-callshttps://github.com/gvanrossum/cpython/tree/inline-calls
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 3, 2024https://github.com/python/cpython/pull/116257#issue-2165058959
@Fidget-Spinnerhttps://github.com/Fidget-Spinner
Please reload this pagehttps://github.com/python/cpython/pull/116257
gvanrossumhttps://github.com/gvanrossum
March 2, 2024 11:00https://github.com/python/cpython/pull/116257#commits-pushed-472af08
https://github.com/gvanrossum
Print the final optimized uophttps://github.com/python/cpython/pull/116257/commits/472af089670d05e9b46c966f3daf621e20ed48a1
472af08https://github.com/python/cpython/pull/116257/commits/472af089670d05e9b46c966f3daf621e20ed48a1
https://github.com/gvanrossum
First prototype, works for cast(int, x)https://github.com/python/cpython/pull/116257/commits/aeafc38e8447e0d0b693337cf38c7f743b3a422e
aeafc38https://github.com/python/cpython/pull/116257/commits/aeafc38e8447e0d0b693337cf38c7f743b3a422e
https://github.com/gvanrossum
More cleanup of debug output, and length adjustmenthttps://github.com/python/cpython/pull/116257/commits/9bf95e4230cf219f0d69d6bf245b8d2698e47cac
9bf95e4https://github.com/python/cpython/pull/116257/commits/9bf95e4230cf219f0d69d6bf245b8d2698e47cac
https://github.com/gvanrossum
Tweak debug outputhttps://github.com/python/cpython/pull/116257/commits/8939a9ae6c0bcc538cef42f26493133bead2de23
8939a9ahttps://github.com/python/cpython/pull/116257/commits/8939a9ae6c0bcc538cef42f26493133bead2de23
https://github.com/gvanrossum
Fix decrefs in _ADJUST_STUFFhttps://github.com/python/cpython/pull/116257/commits/b0097a0279c2329a01c940a81ca2ad2e1db37c9c
b0097a0https://github.com/python/cpython/pull/116257/commits/b0097a0279c2329a01c940a81ca2ad2e1db37c9c
https://github.com/gvanrossum
X{INC,DEC}REF don't escapehttps://github.com/python/cpython/pull/116257/commits/7579cf3d5122e0197b456611027a17376024663f
7579cf3https://github.com/python/cpython/pull/116257/commits/7579cf3d5122e0197b456611027a17376024663f
https://github.com/gvanrossum
Refactor call inline logic and support method callshttps://github.com/python/cpython/pull/116257/commits/a370161a3684ad54287bdddfd2b4f4990fff1fee
a370161https://github.com/python/cpython/pull/116257/commits/a370161a3684ad54287bdddfd2b4f4990fff1fee
https://github.com/gvanrossum
Add testshttps://github.com/python/cpython/pull/116257/commits/087f8d42b11c4f96a9f3d5999c94e247e289c714
087f8d4https://github.com/python/cpython/pull/116257/commits/087f8d42b11c4f96a9f3d5999c94e247e289c714
https://github.com/gvanrossum
Add _GUARD_NOT_METHOD uophttps://github.com/python/cpython/pull/116257/commits/215b7c2096a15bb204eb6dcfcf800da42f70c287
215b7c2https://github.com/python/cpython/pull/116257/commits/215b7c2096a15bb204eb6dcfcf800da42f70c287
https://github.com/gvanrossum
Deopt if inlined function call finds self != NULLhttps://github.com/python/cpython/pull/116257/commits/0136b3a9f56cd240304f78ed7ed0187a67040308
0136b3ahttps://github.com/python/cpython/pull/116257/commits/0136b3a9f56cd240304f78ed7ed0187a67040308
https://github.com/gvanrossum
Comment out debug print() calls in testhttps://github.com/python/cpython/pull/116257/commits/b2ef2958ac9e625f5f14474ffccb73dee0a9f5a1
b2ef295https://github.com/python/cpython/pull/116257/commits/b2ef2958ac9e625f5f14474ffccb73dee0a9f5a1
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Fidget-Spinnerhttps://github.com/Fidget-Spinner
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/67f742e03aacb6217c5bb496e31f96dbf31c6f86/.github/CODEOWNERS#L40
March 3, 2024 01:09https://github.com/python/cpython/pull/116257#event-11988637472
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 3, 2024https://github.com/python/cpython/pull/116257#event-11988637532
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
March 3, 2024 01:09https://github.com/python/cpython/pull/116257#event-11988637677
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 3, 2024https://github.com/python/cpython/pull/116257#event-11988637722
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
March 3, 2024 01:19https://github.com/python/cpython/pull/116257#event-11988648178
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 3, 2024https://github.com/python/cpython/pull/116257#event-11988648236
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
CAM-Gerlachhttps://github.com/CAM-Gerlach
CAM-Gerlachhttps://github.com/CAM-Gerlach
March 3, 2024 01:19https://github.com/python/cpython/pull/116257#event-11988648526
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
March 3, 2024 01:19https://github.com/python/cpython/pull/116257#event-11988648792
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 3, 2024https://github.com/python/cpython/pull/116257#event-11988648825
https://github.com/gvanrossum
Remove failing asserthttps://github.com/python/cpython/pull/116257/commits/6c9ed1ff5996882895af9444a4a0b44663cd3dec
6c9ed1fhttps://github.com/python/cpython/pull/116257/commits/6c9ed1ff5996882895af9444a4a0b44663cd3dec
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 3, 2024https://github.com/python/cpython/pull/116257#issuecomment-1974971692
Please reload this pagehttps://github.com/python/cpython/pull/116257
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Mar 3, 2024https://github.com/python/cpython/pull/116257#event-11988681322
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Mar 3, 2024https://github.com/python/cpython/pull/116257#issuecomment-1975127973
Please reload this pagehttps://github.com/python/cpython/pull/116257
main...Fidget-Spinner:cpython:tier2_inlinerhttps://github.com/python/cpython/compare/main...Fidget-Spinner:cpython:tier2_inliner
Please reload this pagehttps://github.com/python/cpython/pull/116257
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Mar 3, 2024https://github.com/python/cpython/pull/116257#issuecomment-1975129496
Please reload this pagehttps://github.com/python/cpython/pull/116257
Please reload this pagehttps://github.com/python/cpython/pull/116257
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 3, 2024https://github.com/python/cpython/pull/116257#issuecomment-1975210034
Please reload this pagehttps://github.com/python/cpython/pull/116257
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 4, 2024https://github.com/python/cpython/pull/116257#issuecomment-1977569731
gh-116290https://github.com/python/cpython/pull/116290
Please reload this pagehttps://github.com/python/cpython/pull/116257
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 4, 2024https://github.com/python/cpython/pull/116257#event-12005573159
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
March 7, 2024 21:31https://github.com/python/cpython/pull/116257#event-12048306400
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%2F116257
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/tomasr8
tomasr8 https://github.com/tomasr8
https://github.com/savannahostrowski
savannahostrowski https://github.com/savannahostrowski
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/116257
https://github.com/gvanrossum
https://github.com/Fidget-Spinner
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.