| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9be1f817-d1da-9bf2-2e2b-7e2f2594bc63 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B0A2:305E50:3DFF1B5:5820CEF:6A56AF68 |
| html-safe-nonce | ced4f096b575530e201d611673616c94c4a68402a134b85963193417f9251f63 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEEyOjMwNUU1MDozREZGMUI1OjU4MjBDRUY6NkE1NkFGNjgiLCJ2aXNpdG9yX2lkIjoiMzkzNDc2MDQ2MzgyMTYxNDk1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c640a5c66dc87110dfd93dd839187fb0c81a5d867ecb446a8012e5544763ff6 |
| hovercard-subject-tag | pull_request:1753564017 |
| 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/116290/files |
| twitter:image | https://avatars.githubusercontent.com/u/28750310?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/28750310?s=400&v=4 |
| og:image:alt | This PR adds true function inlining to CPython's tier 2 optimizer. It's a reduced form without frame reconstruction. See design discussion here faster-cpython/ideas#653.
This passes the ent... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | df99b7164e1d961b639cf5d3cbd6b5ba673edc67bd7e47cdc4746b96099e11ae |
| 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 | c29ba03b1896083dbe1084f6cd1c5367d8a0d67c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/116290/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F116290%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%2F116290%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/116290/files |
| Reload | https://github.com/python/cpython/pull/116290/files |
| Reload | https://github.com/python/cpython/pull/116290/files |
| Please reload this page | https://github.com/python/cpython/pull/116290/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/116290/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 |
| Fidget-Spinner | https://github.com/Fidget-Spinner |
| python:main | https://github.com/python/cpython/tree/main |
| Fidget-Spinner:tier2_inliner_redux | https://github.com/Fidget-Spinner/cpython/tree/tier2_inliner_redux |
|
Conversation
58
| https://github.com/python/cpython/pull/116290 |
|
Commits
30
| https://github.com/python/cpython/pull/116290/commits |
|
Checks
0
| https://github.com/python/cpython/pull/116290/checks |
|
Files changed
| https://github.com/python/cpython/pull/116290/files |
| Please reload this page | https://github.com/python/cpython/pull/116290/files |
|
gh-116291: Tier 2 - True function inlining redux
| https://github.com/python/cpython/pull/116290/files#top |
|
Show all changes
30 commits
| https://github.com/python/cpython/pull/116290/files |
|
0114bb7
Add frame support functions
Fidget-Spinner Feb 20, 2024
| https://github.com/python/cpython/pull/116290/commits/0114bb7d75b451fb5d1c94a2fa691050ec2295f3 |
|
d210b5d
Abstract interp analysis done
Fidget-Spinner Feb 20, 2024
| https://github.com/python/cpython/pull/116290/commits/d210b5db0fb277e57906462c4639ec1b2349e3d5 |
|
f165138
Add frame inlining heuristics
Fidget-Spinner Feb 20, 2024
| https://github.com/python/cpython/pull/116290/commits/f16513823ac2de33d9e8e53ef81d36d7ff84642c |
|
7551b65
inlining decision pass
Fidget-Spinner Feb 21, 2024
| https://github.com/python/cpython/pull/116290/commits/7551b651e1ffae8b9cdd4bb4121e1cf4507acd9c |
|
683927d
add inline markers
Fidget-Spinner Feb 21, 2024
| https://github.com/python/cpython/pull/116290/commits/683927d7b35ab649bff25fdbca952290a55705a3 |
|
4100b61
more analysis work
Fidget-Spinner Feb 21, 2024
| https://github.com/python/cpython/pull/116290/commits/4100b613347215156ba636a536c6abda5b22782a |
|
11262ea
propagate non inlineable
Fidget-Spinner Feb 21, 2024
| https://github.com/python/cpython/pull/116290/commits/11262eae9dafc526e761f34808398b8872a0da02 |
|
e4a68e3
Merge remote-tracking branch 'upstream/main' into tier2_inliner
Fidget-Spinner Feb 21, 2024
| https://github.com/python/cpython/pull/116290/commits/e4a68e378b483e4670cf43913cb169086c92683c |
|
7856988
rewrite loads/store, remove replicates for load and store
Fidget-Spinner Feb 21, 2024
| https://github.com/python/cpython/pull/116290/commits/7856988b014d9b8cbbb0b27e7bc70bc46eb595c9 |
|
7b69a62
frame reconstruction
Fidget-Spinner Feb 21, 2024
| https://github.com/python/cpython/pull/116290/commits/7b69a6274598a1a2d6b706f796c33517353769b9 |
|
e1ee2ad
fix a bunch of bugs in the abstract interp
Fidget-Spinner Feb 21, 2024
| https://github.com/python/cpython/pull/116290/commits/e1ee2ad076541e1e983a4c056fc93d3a7c5cf568 |
|
7a12a7b
Simplify
Fidget-Spinner Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/7a12a7b4ed20a5b5f03893451454a3b8a7df2001 |
|
1791803
Merge remote-tracking branch 'upstream/main' into tier2_inliner_redux
Fidget-Spinner Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/17918037c46b95811cbe34f3e905978f9e46ce2b |
|
9734d90
Fix main merge problems
Fidget-Spinner Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/9734d90d16cc486b6a605db32b438a3123a13e53 |
|
f0274cb
fix methods
Fidget-Spinner Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/f0274cbffb22fb50695363dec3a99efb17c3f688 |
|
2eff546
cleanup more
Fidget-Spinner Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/2eff54631de7a72b1bae28a54ff4ae1601eae505 |
|
1322578
make tests pass
Fidget-Spinner Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/132257892bcaf6f46db76e4c9c8c9dc1ca7e6117 |
|
16efbe0
📜🤖 Added by blurb_it.
blurb-it[bot] Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/16efbe00c6adb60cb1cec45c60d5fc8f63b3734c |
|
2e65b86
remove false check
Fidget-Spinner Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/2e65b86a62adabd0b8c8458e0480cceb85719ce4 |
|
f74c315
Merge branch 'tier2_inliner_redux' of github.com:Fidget-Spinner/cpyth…
Fidget-Spinner Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/f74c315d705685ca5491089a1aa7efc35805502a |
|
df20f69
Merge remote-tracking branch 'upstream/main' into tier2_inliner_redux
Fidget-Spinner Mar 3, 2024
| https://github.com/python/cpython/pull/116290/commits/df20f69b5a8855207c3481c11ecd9e6986ef1488 |
|
24b127f
fix failing tests
Fidget-Spinner Mar 4, 2024
| https://github.com/python/cpython/pull/116290/commits/24b127fdaafa7b58a1c6c2170748dc4ae2a208e9 |
|
b04215f
Merge remote-tracking branch 'upstream/main' into tier2_inliner_redux
Fidget-Spinner Mar 4, 2024
| https://github.com/python/cpython/pull/116290/commits/b04215f0c1790742f71d39c7503f84c9a8250c82 |
|
e84eeed
Implement _GROW_TIER2_FRAME without adding tier2_extra_size
gvanrossum Mar 5, 2024
| https://github.com/python/cpython/pull/116290/commits/e84eeed8dbe6eca001c674c826d381ec24fcc200 |
|
dad9100
Merge commit '23db9c62272' into kenjin_tier2_inliner_redux
gvanrossum Mar 6, 2024
| https://github.com/python/cpython/pull/116290/commits/dad9100a7bb13b75712ff3dd22f4dfeabc89b8d1 |
|
c7ad988
Replace _PUSH_FRAME_INLINEABLE body with assert(0) since it can never…
gvanrossum Mar 6, 2024
| https://github.com/python/cpython/pull/116290/commits/c7ad9880a5148698eea8be043cc6b1d2bc43dcb5 |
|
2f9539b
Don't ever decrement datastack_top!
gvanrossum Mar 6, 2024
| https://github.com/python/cpython/pull/116290/commits/2f9539bfa88f23f06e876901919562a17a34c829 |
|
29217e0
Remove commented-out comment and assert
gvanrossum Mar 6, 2024
| https://github.com/python/cpython/pull/116290/commits/29217e0103812b0f43bae2650e6b2bd82ee67794 |
|
73a0cd2
Merge remote-tracking branch 'upstream/main' into tier2_inliner_redux
Fidget-Spinner Mar 6, 2024
| https://github.com/python/cpython/pull/116290/commits/73a0cd2750e72cc422d9553cc9ddce80ba90d21f |
|
8820429
Add extern decl for real_localsplus_idx().
gvanrossum Mar 7, 2024
| https://github.com/python/cpython/pull/116290/commits/8820429dbaeb7ed3dbbda4ffd299ac8bcffe2ee1 |
|
Clear filters
| https://github.com/python/cpython/pull/116290/files |
| Please reload this page | https://github.com/python/cpython/pull/116290/files |
| Please reload this page | https://github.com/python/cpython/pull/116290/files |
|
pycore_optimizer.h
| https://github.com/python/cpython/pull/116290/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
pycore_uop_ids.h
| https://github.com/python/cpython/pull/116290/files#diff-2a420e4d0d58009249c0f73f7c822167b053bd51cb213b20179bd2aebfc66ff9 |
|
pycore_uop_metadata.h
| https://github.com/python/cpython/pull/116290/files#diff-55e65a72fa31e9b746e03076d2c74b716c0c1171663f36960b2339fcbfae9bab |
|
test_opt.py
| https://github.com/python/cpython/pull/116290/files#diff-67b5bd915e37f77df79907865982648172c27d3b96fbb072b30a73c6a2735439 |
|
test_generated_cases.py
| https://github.com/python/cpython/pull/116290/files#diff-9168c63f7de36279d370ea7d6403f554f48e6da75e82b6b70b5a207a11848750 |
|
2024-03-03-20-37-10.gh-issue-116291.W1Z7Oy.rst
| https://github.com/python/cpython/pull/116290/files#diff-ecec96141dff5d756ba50b2138c4388cc4e37244f433a6738a8abcbf146171b6 |
|
bytecodes.c
| https://github.com/python/cpython/pull/116290/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
ceval.c
| https://github.com/python/cpython/pull/116290/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
executor_cases.c.h
| https://github.com/python/cpython/pull/116290/files#diff-a1c3430c42a66c16e6d2e154491a6da993b187b27c628545a12a02c7b2a06b81 |
|
optimizer_analysis.c
| https://github.com/python/cpython/pull/116290/files#diff-eac5ab7e741b8b825a24d31a5bf844e86086431fb698cfcabe1277b68c375ca2 |
|
optimizer_bytecodes.c
| https://github.com/python/cpython/pull/116290/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
optimizer_cases.c.h
| https://github.com/python/cpython/pull/116290/files#diff-ed4567b3e67709ec57bf4df91ef058cfcbe00d7da11cd2a75e38241fa1ca99d2 |
|
optimizer_symbols.c
| https://github.com/python/cpython/pull/116290/files#diff-b28c00f0aab70992e604ed7c3e9cb4ca39779f33d5ff2c7777de5a044422f095 |
|
optimizer_generator.py
| https://github.com/python/cpython/pull/116290/files#diff-0e6b93be57fb09a403b522dd1babfec9a9ed626d868a4fec6a42a6942c55dc23 |
| Include/internal/pycore_optimizer.h | https://github.com/python/cpython/pull/116290/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
View file
| https://github.com/Fidget-Spinner/cpython/blob/8820429dbaeb7ed3dbbda4ffd299ac8bcffe2ee1/Include/internal/pycore_optimizer.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/116290/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/116290/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
| https://github.com/python/cpython/pull/116290/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
| https://github.com/python/cpython/pull/116290/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
| https://github.com/python/cpython/pull/116290/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
| Include/internal/pycore_uop_ids.h | https://github.com/python/cpython/pull/116290/files#diff-2a420e4d0d58009249c0f73f7c822167b053bd51cb213b20179bd2aebfc66ff9 |
|
View file
| https://github.com/Fidget-Spinner/cpython/blob/8820429dbaeb7ed3dbbda4ffd299ac8bcffe2ee1/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/116290/files |
| Include/internal/pycore_uop_metadata.h | https://github.com/python/cpython/pull/116290/files#diff-55e65a72fa31e9b746e03076d2c74b716c0c1171663f36960b2339fcbfae9bab |
|
View file
| https://github.com/Fidget-Spinner/cpython/blob/8820429dbaeb7ed3dbbda4ffd299ac8bcffe2ee1/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/116290/files |
| Please reload this page | https://github.com/python/cpython/pull/116290/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 |