| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:634e0e80-ab9e-37ab-d3de-647b5fa0d9b8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D2B8:8B1FC:1BCC3:256B7:6A57161B |
| html-safe-nonce | ff4e5601799fdce362a36f0a785777e992e3f197a924f9fd73f51cb0037597af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkI4OjhCMUZDOjFCQ0MzOjI1NkI3OjZBNTcxNjFCIiwidmlzaXRvcl9pZCI6IjQyNTQzOTEwODM4ODE0MDM5MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 324818aaa4e7942c97590b389e60a3858698e9e6bef78f805f4a1b7bf75b8835 |
| hovercard-subject-tag | pull_request:1753151059 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/116257/files |
| twitter:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| og:image:alt | 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 ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/116257/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F116257%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Ffiles |
|
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/116257/files |
| Reload | https://github.com/python/cpython/pull/116257/files |
| Reload | https://github.com/python/cpython/pull/116257/files |
| Please reload this page | https://github.com/python/cpython/pull/116257/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/116257/files |
|
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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| gvanrossum | https://github.com/gvanrossum |
| python:main | https://github.com/python/cpython/tree/main |
| gvanrossum:inline-calls | https://github.com/gvanrossum/cpython/tree/inline-calls |
|
Conversation
5
| https://github.com/python/cpython/pull/116257 |
|
Commits
12
| https://github.com/python/cpython/pull/116257/commits |
|
Checks
0
| https://github.com/python/cpython/pull/116257/checks |
|
Files changed
| https://github.com/python/cpython/pull/116257/files |
| Please reload this page | https://github.com/python/cpython/pull/116257/files |
|
DRAFT: limited call inlining
| https://github.com/python/cpython/pull/116257/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/116257/files |
|
472af08
Print the final optimized uop
gvanrossum Mar 2, 2024
| https://github.com/python/cpython/pull/116257/commits/472af089670d05e9b46c966f3daf621e20ed48a1 |
|
aeafc38
First prototype, works for cast(int, x)
gvanrossum Mar 2, 2024
| https://github.com/python/cpython/pull/116257/commits/aeafc38e8447e0d0b693337cf38c7f743b3a422e |
|
9bf95e4
More cleanup of debug output, and length adjustment
gvanrossum Mar 2, 2024
| https://github.com/python/cpython/pull/116257/commits/9bf95e4230cf219f0d69d6bf245b8d2698e47cac |
|
8939a9a
Tweak debug output
gvanrossum Mar 2, 2024
| https://github.com/python/cpython/pull/116257/commits/8939a9ae6c0bcc538cef42f26493133bead2de23 |
|
b0097a0
Fix decrefs in _ADJUST_STUFF
gvanrossum Mar 2, 2024
| https://github.com/python/cpython/pull/116257/commits/b0097a0279c2329a01c940a81ca2ad2e1db37c9c |
|
7579cf3
X{INC,DEC}REF don't escape
gvanrossum Mar 2, 2024
| https://github.com/python/cpython/pull/116257/commits/7579cf3d5122e0197b456611027a17376024663f |
|
a370161
Refactor call inline logic and support method calls
gvanrossum Mar 2, 2024
| https://github.com/python/cpython/pull/116257/commits/a370161a3684ad54287bdddfd2b4f4990fff1fee |
|
087f8d4
Add tests
gvanrossum Mar 2, 2024
| https://github.com/python/cpython/pull/116257/commits/087f8d42b11c4f96a9f3d5999c94e247e289c714 |
|
215b7c2
Add _GUARD_NOT_METHOD uop
gvanrossum Mar 3, 2024
| https://github.com/python/cpython/pull/116257/commits/215b7c2096a15bb204eb6dcfcf800da42f70c287 |
|
0136b3a
Deopt if inlined function call finds self != NULL
gvanrossum Mar 3, 2024
| https://github.com/python/cpython/pull/116257/commits/0136b3a9f56cd240304f78ed7ed0187a67040308 |
|
b2ef295
Comment out debug print() calls in test
gvanrossum Mar 3, 2024
| https://github.com/python/cpython/pull/116257/commits/b2ef2958ac9e625f5f14474ffccb73dee0a9f5a1 |
|
6c9ed1f
Remove failing assert
gvanrossum Mar 3, 2024
| https://github.com/python/cpython/pull/116257/commits/6c9ed1ff5996882895af9444a4a0b44663cd3dec |
|
Clear filters
| https://github.com/python/cpython/pull/116257/files |
| Please reload this page | https://github.com/python/cpython/pull/116257/files |
| Please reload this page | https://github.com/python/cpython/pull/116257/files |
|
pycore_opcode_metadata.h
| https://github.com/python/cpython/pull/116257/files#diff-72bc4c0445516cc3eabd536220b2459617491ffaabbdb8a7c5381f36c991e378 |
|
pycore_uop_ids.h
| https://github.com/python/cpython/pull/116257/files#diff-2a420e4d0d58009249c0f73f7c822167b053bd51cb213b20179bd2aebfc66ff9 |
|
pycore_uop_metadata.h
| https://github.com/python/cpython/pull/116257/files#diff-55e65a72fa31e9b746e03076d2c74b716c0c1171663f36960b2339fcbfae9bab |
|
test_opt.py
| https://github.com/python/cpython/pull/116257/files#diff-67b5bd915e37f77df79907865982648172c27d3b96fbb072b30a73c6a2735439 |
|
bytecodes.c
| https://github.com/python/cpython/pull/116257/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
executor_cases.c.h
| https://github.com/python/cpython/pull/116257/files#diff-a1c3430c42a66c16e6d2e154491a6da993b187b27c628545a12a02c7b2a06b81 |
|
optimizer.c
| https://github.com/python/cpython/pull/116257/files#diff-de09f74c4306be5ef0284d665091976873569094d645a35b48467ea2a11d67f7 |
|
optimizer_analysis.c
| https://github.com/python/cpython/pull/116257/files#diff-eac5ab7e741b8b825a24d31a5bf844e86086431fb698cfcabe1277b68c375ca2 |
|
optimizer_cases.c.h
| https://github.com/python/cpython/pull/116257/files#diff-ed4567b3e67709ec57bf4df91ef058cfcbe00d7da11cd2a75e38241fa1ca99d2 |
|
analyzer.py
| https://github.com/python/cpython/pull/116257/files#diff-bf1d5618934b787df486d8077f48217f17bf4321b9a151528f67b6e6f383976b |
| Include/internal/pycore_opcode_metadata.h | https://github.com/python/cpython/pull/116257/files#diff-72bc4c0445516cc3eabd536220b2459617491ffaabbdb8a7c5381f36c991e378 |
|
View file
| https://github.com/gvanrossum/cpython/blob/6c9ed1ff5996882895af9444a4a0b44663cd3dec/Include/internal/pycore_opcode_metadata.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/116257/files |
| Include/internal/pycore_uop_ids.h | https://github.com/python/cpython/pull/116257/files#diff-2a420e4d0d58009249c0f73f7c822167b053bd51cb213b20179bd2aebfc66ff9 |
|
View file
| https://github.com/gvanrossum/cpython/blob/6c9ed1ff5996882895af9444a4a0b44663cd3dec/Include/internal/pycore_uop_ids.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/116257/files |
| Include/internal/pycore_uop_metadata.h | https://github.com/python/cpython/pull/116257/files#diff-55e65a72fa31e9b746e03076d2c74b716c0c1171663f36960b2339fcbfae9bab |
|
View file
| https://github.com/gvanrossum/cpython/blob/6c9ed1ff5996882895af9444a4a0b44663cd3dec/Include/internal/pycore_uop_metadata.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/116257/files |
| Please reload this page | https://github.com/python/cpython/pull/116257/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |