| react-profiling | 0 |
| react-import-map | react,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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a769680b-10fc-fb56-0797-f3518042cbba |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BE80:785A9:469AEEB:59730BC:6B023CB9 |
| html-safe-nonce | 0d2c49221c34526c110d1517078cdbb31e94b264c1ab4ac5377c3390ab43ef20 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTgwOjc4NUE5OjQ2OUFFRUI6NTk3MzBCQzo2QjAyM0NCOSIsInZpc2l0b3JfaWQiOiI0Mjg5MDkzODY5ODg4NDg2NTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f0c65712578c16253f7d6acab4379db7156ffe0ba8524d5f858958b9df57a0d1 |
| hovercard-subject-tag | pull_request:1842910401 |
| 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/118322/files |
| twitter:image | https://avatars.githubusercontent.com/u/9448417?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9448417?s=400&v=4 |
| og:image:alt | There is a bug in the tier 2 code, and this needs to be benchmarked.
Bug is fixed. See below for benchmarking and stats
Issue: gh-118095 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/118322/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118322%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F118322%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/118322/files |
| Reload | https://github.com/python/cpython/pull/118322/files |
| Reload | https://github.com/python/cpython/pull/118322/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| 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 |
| markshannon | https://github.com/markshannon |
| python:main | https://github.com/python/cpython/tree/main |
| faster-cpython:tier-2-call | https://github.com/faster-cpython/cpython/tree/tier-2-call |
|
Conversation
25
| https://github.com/python/cpython/pull/118322 |
|
Commits
19
| https://github.com/python/cpython/pull/118322/commits |
|
Checks
0
| https://github.com/python/cpython/pull/118322/checks |
|
Files changed
| https://github.com/python/cpython/pull/118322/files |
| Please reload this page | https://github.com/python/cpython/pull/118322/files |
|
GH-118095: Use broader specializations in tier 1, for better tier 2 support of calls.
| https://github.com/python/cpython/pull/118322/files#top |
|
Show all changes
19 commits
| https://github.com/python/cpython/pull/118322/files |
|
0b157ab
Add CALL_PY_GENERAL and CALL_BOUND_METHOD_GENERAL call specializations.
markshannon Apr 26, 2024
| https://github.com/python/cpython/pull/118322/commits/0b157abbb1a969a5da698fb3a8a427ddb4771104 |
|
2262f98
Add CALL_NON_PY_GENERAL call specialization
markshannon Apr 26, 2024
| https://github.com/python/cpython/pull/118322/commits/2262f9886b721081b8dad8175da23adf2e81de1c |
|
4af43c2
Remove CALL_PY_WITH_DEFAULTS specialization
markshannon Apr 26, 2024
| https://github.com/python/cpython/pull/118322/commits/4af43c2bcdee8853ffbe6df293319764e0af3316 |
|
b7795e3
Fix JIT build
markshannon Apr 26, 2024
| https://github.com/python/cpython/pull/118322/commits/b7795e3fa6e8e9226c6fda9861b2e5d67e1f07d3 |
|
e5c7dce
Use CALL_NON_PY_GENERAL in more cases when otherwise failing to speci…
markshannon Apr 30, 2024
| https://github.com/python/cpython/pull/118322/commits/e5c7dce7e0e2b83580928884d713d8bfba328a26 |
|
61abb3b
Delete unused code
markshannon May 2, 2024
| https://github.com/python/cpython/pull/118322/commits/61abb3b1a1f5849746ed2f59e24ef0229cf1d524 |
|
b49bc86
Make sure that function version number is checked when tracing throug…
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/b49bc86ae60b17530847302b2d8987a411313517 |
|
f42519d
whitespace
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/f42519deb6d93beb270e2de3d60517b20dcc3f39 |
|
3294632
Merge branch 'main' into tier-2-call
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/329463269b9d40b63f753b70e8f0a5332cefcd1d |
|
1a2dcfe
Check verion on function, not method
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/1a2dcfe6df12ef827905fd65ab21ec3dcaa0e68e |
|
62ff43c
Lower WASI C recursion limit again
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/62ff43c9a35c701b807a759b905a36f2bd7723be |
|
71c6d41
Get test passing on wasi
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/71c6d4140837b800cce7d3ac97d638609d4e0d22 |
|
0b40773
Lower WASI C recursion limit again
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/0b4077327d84275682adfc7f54053c7651cdb8da |
|
02cdf2f
Yet another attempt to get the WASI build to work
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/02cdf2f12fdcbe2b1c6103d8e93c8ab22a37e4c9 |
|
1831eb3
Skip test for WASI
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/1831eb3939164dd9493f82668f86dffeb5b15135 |
|
7819b1c
Skip another test for WASI
markshannon May 3, 2024
| https://github.com/python/cpython/pull/118322/commits/7819b1c0e058e4190d78b34ccfd946e317ce1ff0 |
|
857d152
Address some review comments
markshannon May 4, 2024
| https://github.com/python/cpython/pull/118322/commits/857d152acc589038f46ab727e217d35ddb9579f6 |
|
839d16e
Use _SAVE_RETURN_OFFSET in general call instructions
markshannon May 4, 2024
| https://github.com/python/cpython/pull/118322/commits/839d16e009c57c379b5dfc1fa1387a6a2259b49e |
|
1d5c0a7
Merge branch 'main' into tier-2-call
markshannon May 4, 2024
| https://github.com/python/cpython/pull/118322/commits/1d5c0a7186e9bdbc2318f08f6731c3b8ce0b3fb0 |
|
Clear filters
| https://github.com/python/cpython/pull/118322/files |
| Please reload this page | https://github.com/python/cpython/pull/118322/files |
| Please reload this page | https://github.com/python/cpython/pull/118322/files |
|
pycore_frame.h
| https://github.com/python/cpython/pull/118322/files#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4 |
|
pycore_opcode_metadata.h
| https://github.com/python/cpython/pull/118322/files#diff-72bc4c0445516cc3eabd536220b2459617491ffaabbdb8a7c5381f36c991e378 |
|
pycore_uop_ids.h
| https://github.com/python/cpython/pull/118322/files#diff-2a420e4d0d58009249c0f73f7c822167b053bd51cb213b20179bd2aebfc66ff9 |
|
pycore_uop_metadata.h
| https://github.com/python/cpython/pull/118322/files#diff-55e65a72fa31e9b746e03076d2c74b716c0c1171663f36960b2339fcbfae9bab |
|
opcode_ids.h
| https://github.com/python/cpython/pull/118322/files#diff-e4ecf20b65dcacb3c91fc910b83d99a2ca60282b51aa65e7902a662c227e6187 |
|
_opcode_metadata.py
| https://github.com/python/cpython/pull/118322/files#diff-3f2acff9cdbb005de538e3ba43dc12406bf414047d7d018476bac0048b5056e4 |
|
test_call.py
| https://github.com/python/cpython/pull/118322/files#diff-f27c08f13ff54ee9a69325f9291a3a2510a05b82ff8d813a8ab2e0072af632bb |
|
test_dis.py
| https://github.com/python/cpython/pull/118322/files#diff-fd7b118a01a9695dfa16eea9381d3c7b0652e1b7b55f51ff052a1f620d175642 |
|
test_dynamic.py
| https://github.com/python/cpython/pull/118322/files#diff-025c2427db5147cdf072d0389777a81bb7e4acf3fd4e96a7387f9f4d48cb600a |
|
test_glob.py
| https://github.com/python/cpython/pull/118322/files#diff-e2fbc5e3fb1e825bc671d1cf011efb382e731a5d43bfb2fa02a7ec5610f4f1a4 |
|
bytecodes.c
| https://github.com/python/cpython/pull/118322/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
ceval.c
| https://github.com/python/cpython/pull/118322/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
executor_cases.c.h
| https://github.com/python/cpython/pull/118322/files#diff-a1c3430c42a66c16e6d2e154491a6da993b187b27c628545a12a02c7b2a06b81 |
|
generated_cases.c.h
| https://github.com/python/cpython/pull/118322/files#diff-4ef46fa654f95502e49a24f7dc8ee31a4cac9b3433fe9cd2b2d4dd78cfbad448 |
|
opcode_targets.h
| https://github.com/python/cpython/pull/118322/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a |
|
optimizer.c
| https://github.com/python/cpython/pull/118322/files#diff-de09f74c4306be5ef0284d665091976873569094d645a35b48467ea2a11d67f7 |
|
optimizer_bytecodes.c
| https://github.com/python/cpython/pull/118322/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
optimizer_cases.c.h
| https://github.com/python/cpython/pull/118322/files#diff-ed4567b3e67709ec57bf4df91ef058cfcbe00d7da11cd2a75e38241fa1ca99d2 |
|
specialize.c
| https://github.com/python/cpython/pull/118322/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2 |
| Include/internal/pycore_frame.h | https://github.com/python/cpython/pull/118322/files#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4 |
|
View file
| https://github.com/faster-cpython/cpython/blob/1d5c0a7186e9bdbc2318f08f6731c3b8ce0b3fb0/Include/internal/pycore_frame.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/118322/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/118322/files#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4 |
|
| https://github.com/python/cpython/pull/118322/files#diff-dc43b169f3202922a7787b97210ce299172f0cf03bd88529d473128f32e49fe4 |
| Include/internal/pycore_opcode_metadata.h | https://github.com/python/cpython/pull/118322/files#diff-72bc4c0445516cc3eabd536220b2459617491ffaabbdb8a7c5381f36c991e378 |
|
View file
| https://github.com/faster-cpython/cpython/blob/1d5c0a7186e9bdbc2318f08f6731c3b8ce0b3fb0/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/118322/files |
| Please reload this page | https://github.com/python/cpython/pull/118322/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 |