| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ee0e89a8-9f5a-15b4-a7d4-7a9ea6e380e6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8180:B2444:4E27A3C:6D2780A:6A50F459 |
| html-safe-nonce | d9e25a4f7ce3cbf5f6cce190c4e500d85ad6dbfc8597f118a1e0d923af51fbcb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTgwOkIyNDQ0OjRFMjdBM0M6NkQyNzgwQTo2QTUwRjQ1OSIsInZpc2l0b3JfaWQiOiIxMjEwNzUyMjQ4ODkzNzMxOTI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d6b7cb943165959c26b932656418311739f4ce1babf40689e212b895377fea0b |
| hovercard-subject-tag | pull_request:3218714325 |
| 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/144300/files |
| twitter:image | https://avatars.githubusercontent.com/u/65756407?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/65756407?s=400&v=4 |
| og:image:alt | Implements unique reference tracking to references in the JIT Optimizer.
Uses the unique reference tracking to eliminate unnecessary reference counting for uniquely referenced tuples. ex:
x, y, z ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838 |
| 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 | 5ec60191a48933536a90c8a19f47142fcd0d4739 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/144300/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144300%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%2F144300%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/144300/files |
| Reload | https://github.com/python/cpython/pull/144300/files |
| Reload | https://github.com/python/cpython/pull/144300/files |
| Please reload this page | https://github.com/python/cpython/pull/144300/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/144300/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| 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 |
| reidenong:branch-unique-reference-tracking | https://github.com/reidenong/cpython/tree/branch-unique-reference-tracking |
|
Conversation
43
| https://github.com/python/cpython/pull/144300 |
|
Commits
36
| https://github.com/python/cpython/pull/144300/commits |
|
Checks
86
| https://github.com/python/cpython/pull/144300/checks |
|
Files changed
| https://github.com/python/cpython/pull/144300/files |
| Please reload this page | https://github.com/python/cpython/pull/144300/files |
|
gh-143414: Implement unique reference tracking for JIT, optimize unpacking of such tuples
| https://github.com/python/cpython/pull/144300/files#top |
|
Show all changes
36 commits
| https://github.com/python/cpython/pull/144300/files |
|
e4b7f51
Add unique reference tracking to JIT, optimize tuple unpacking
reidenong Jan 28, 2026
| https://github.com/python/cpython/pull/144300/commits/e4b7f511d38762cf2d44213b608eb1d6c62636f0 |
|
b32a8e2
Merge branch 'main' into branch-unique-reference-tracking
reidenong Jan 28, 2026
| https://github.com/python/cpython/pull/144300/commits/b32a8e2a552897ec2873b1d097eb3d2b60a1a026 |
|
7aeac0e
Regenerate cases
reidenong Jan 28, 2026
| https://github.com/python/cpython/pull/144300/commits/7aeac0ef22b0caaab51708d69a71e40f97cceab9 |
|
f8b7e4e
Fix unique tuple unpacking checks
reidenong Jan 28, 2026
| https://github.com/python/cpython/pull/144300/commits/f8b7e4ed8d8a323793342ae5d7874029fd664e23 |
|
37d7c4b
Implement _PyTuple_ExactDealloc
reidenong Jan 29, 2026
| https://github.com/python/cpython/pull/144300/commits/37d7c4b8cff12b4a9935b7ca0dd0aa24dfb59787 |
|
7df2176
Rename symbol
reidenong Jan 29, 2026
| https://github.com/python/cpython/pull/144300/commits/7df217602471d7ac3110edf7c698397587f8729c |
|
6f66c56
Merge branch 'main' into branch-unique-reference-tracking
reidenong Jan 30, 2026
| https://github.com/python/cpython/pull/144300/commits/6f66c5609b17d490e486ccf750d36b6913bc831c |
|
b251825
Merge branch 'main' into branch-unique-reference-tracking
reidenong Jan 30, 2026
| https://github.com/python/cpython/pull/144300/commits/b2518259b00aa1219ebb1b2e61498c484d3015d5 |
|
bcd5654
Regenerate cases
reidenong Jan 30, 2026
| https://github.com/python/cpython/pull/144300/commits/bcd56548f0fc4d5d34c235a499b00dbaf8548460 |
|
acfa737
Add alignment checking
reidenong Jan 31, 2026
| https://github.com/python/cpython/pull/144300/commits/acfa737fb644e25ef7bfbe29fdbbea83d60152ae |
|
a0fd9e2
Change JIT reference tags to 2 bit scheme
reidenong Jan 31, 2026
| https://github.com/python/cpython/pull/144300/commits/a0fd9e2db5ca6b94eeead1fa098939943c18d3d0 |
|
645776a
📜🤖 Added by blurb_it.
blurb-it[bot] Jan 31, 2026
| https://github.com/python/cpython/pull/144300/commits/645776a909954a355c4ba06959eeb7f028b9d984 |
|
cdb4a05
Fix style
reidenong Feb 1, 2026
| https://github.com/python/cpython/pull/144300/commits/cdb4a0581a3a26a5d2f1727c2d61345f056f88fd |
|
275732b
Remove unnecesssary deopt
reidenong Feb 2, 2026
| https://github.com/python/cpython/pull/144300/commits/275732b48e95e167ffab12820846584511ac74af |
|
dbde059
Regenerate cases
reidenong Feb 2, 2026
| https://github.com/python/cpython/pull/144300/commits/dbde05909d3bb2b457e2ef5e393254eb9b43620c |
|
bd70ebd
Replace tuple deallocation with tuple free
reidenong Feb 3, 2026
| https://github.com/python/cpython/pull/144300/commits/bd70ebdae1ed89070130928b13bb26f39cedf157 |
|
d16f298
Merge branch 'main' into branch-unique-reference-tracking
reidenong Feb 5, 2026
| https://github.com/python/cpython/pull/144300/commits/d16f2982317fb6ea9d6cd687cf5ab804e2fc2ce3 |
|
bec7ee3
Regenerate cases
reidenong Feb 5, 2026
| https://github.com/python/cpython/pull/144300/commits/bec7ee3d1fb97d800e76b5a0f7a01919621d69f9 |
|
5c9b9c6
Add unique reference two tuple optimization
reidenong Feb 5, 2026
| https://github.com/python/cpython/pull/144300/commits/5c9b9c6b40d4e80d88b9de1bfaa2fd184e8c18b5 |
|
cdbe2e6
Add efficient unpacking for uniquely referenced three tuples
reidenong Feb 5, 2026
| https://github.com/python/cpython/pull/144300/commits/cdbe2e654a55acfd002b8d86d71e16983528c2bc |
|
fb1d227
Move length checks to JIT
reidenong Feb 6, 2026
| https://github.com/python/cpython/pull/144300/commits/fb1d2271f95d75f58a526603a2eb363d49b29c9d |
|
c7e53fb
Refactor JIT reference remove unique
reidenong Feb 3, 2026
| https://github.com/python/cpython/pull/144300/commits/c7e53fbf2e54bea241bc586c06ee87e4e9d052ce |
|
6851962
Remove JIT reference uniqueness on store
reidenong Feb 3, 2026
| https://github.com/python/cpython/pull/144300/commits/685196235e5c2bdae3b23317671bf4095e8c5775 |
|
8c8e0a9
Remove unnecessary DEOPT
reidenong Feb 6, 2026
| https://github.com/python/cpython/pull/144300/commits/8c8e0a91ddb4d377a192349f6c1ec09a447f50f7 |
|
a6fffdc
Remove redundant make unique ops
reidenong Feb 21, 2026
| https://github.com/python/cpython/pull/144300/commits/a6fffdc50fdb2d75c385dd288214badadc4100f7 |
|
78978aa
Merge branch 'main' into branch-unique-reference-tracking
reidenong Feb 21, 2026
| https://github.com/python/cpython/pull/144300/commits/78978aaf9a06afebaef739da54a43a2dd875526c |
|
0b07ac4
Regen cases
reidenong Feb 21, 2026
| https://github.com/python/cpython/pull/144300/commits/0b07ac42e8b67d11e2c19d6a8ecf0cd82add8735 |
|
14e5d3d
Merge branch 'main' into branch-unique-reference-tracking
reidenong Feb 21, 2026
| https://github.com/python/cpython/pull/144300/commits/14e5d3d58ffb1c2ee2e7ef6598521a3d3fe8886c |
|
8506038
Merge branch 'main' into branch-unique-reference-tracking
reidenong Mar 9, 2026
| https://github.com/python/cpython/pull/144300/commits/8506038cd35bc0aea69026415a12bfb6fac4ed78 |
|
d67617f
Regen cases
reidenong Mar 9, 2026
| https://github.com/python/cpython/pull/144300/commits/d67617f0eab5bc8e7568adf642bbb52ee5fc75ef |
|
100eeb5
Merge branch 'main' into branch-unique-reference-tracking
reidenong Mar 9, 2026
| https://github.com/python/cpython/pull/144300/commits/100eeb5b3353cb4d20994621861ac91bc86f4352 |
|
e476061
Merge branch 'main' into branch-unique-reference-tracking
reidenong Mar 11, 2026
| https://github.com/python/cpython/pull/144300/commits/e47606164d329ec0445701debb51b8f24e826bfc |
|
06a9ec1
Merge branch 'main' into branch-unique-reference-tracking
reidenong Mar 11, 2026
| https://github.com/python/cpython/pull/144300/commits/06a9ec17c1be5ae9396f0954504ad5094c4a821e |
|
6bce6b4
Merge remote-tracking branch 'upstream/main' into pr/144300
Fidget-Spinner Mar 22, 2026
| https://github.com/python/cpython/pull/144300/commits/6bce6b44fbd2934d7e6e9ef5907b5f3af44eccd6 |
|
89dc467
Mark unique tuple freeing as non-escaping
Fidget-Spinner Mar 22, 2026
| https://github.com/python/cpython/pull/144300/commits/89dc467e4d0f8f8a25edd7e7fb7113807b4310c4 |
|
4e6c792
fix a bugs in _COPY_FREE_VARS and frame creation
Fidget-Spinner Mar 22, 2026
| https://github.com/python/cpython/pull/144300/commits/4e6c7923eeaf2effd01f564d5083acfed93b03e4 |
|
Clear filters
| https://github.com/python/cpython/pull/144300/files |
| Please reload this page | https://github.com/python/cpython/pull/144300/files |
| Please reload this page | https://github.com/python/cpython/pull/144300/files |
|
pycore_optimizer.h
| https://github.com/python/cpython/pull/144300/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
pycore_tuple.h
| https://github.com/python/cpython/pull/144300/files#diff-02a8063ded0e44b150c017ff3c40889642e1f3d5da42195701586e8a2c0a233a |
|
pycore_uop_ids.h
| https://github.com/python/cpython/pull/144300/files#diff-2a420e4d0d58009249c0f73f7c822167b053bd51cb213b20179bd2aebfc66ff9 |
|
pycore_uop_metadata.h
| https://github.com/python/cpython/pull/144300/files#diff-55e65a72fa31e9b746e03076d2c74b716c0c1171663f36960b2339fcbfae9bab |
|
test_opt.py
| https://github.com/python/cpython/pull/144300/files#diff-67b5bd915e37f77df79907865982648172c27d3b96fbb072b30a73c6a2735439 |
|
2026-01-31-15-15-43.gh-issue-143414.Jgl4xu.rst
| https://github.com/python/cpython/pull/144300/files#diff-a0957791efd54c8d93b4939e6beaddef182afe5f5c3afe31f453ec75064eab94 |
|
tupleobject.c
| https://github.com/python/cpython/pull/144300/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
bytecodes.c
| https://github.com/python/cpython/pull/144300/files#diff-729a985b0cb8b431cb291f1edb561bbbfea22e3f8c262451cd83328a0936a342 |
|
executor_cases.c.h
| https://github.com/python/cpython/pull/144300/files#diff-a1c3430c42a66c16e6d2e154491a6da993b187b27c628545a12a02c7b2a06b81 |
|
optimizer_bytecodes.c
| https://github.com/python/cpython/pull/144300/files#diff-e5bd2b14b0b10f0f47786e26306d689ed1361c3dc3b11dcc3ea52b8a2422ff64 |
|
optimizer_cases.c.h
| https://github.com/python/cpython/pull/144300/files#diff-ed4567b3e67709ec57bf4df91ef058cfcbe00d7da11cd2a75e38241fa1ca99d2 |
|
optimizer_symbols.c
| https://github.com/python/cpython/pull/144300/files#diff-b28c00f0aab70992e604ed7c3e9cb4ca39779f33d5ff2c7777de5a044422f095 |
|
analyzer.py
| https://github.com/python/cpython/pull/144300/files#diff-bf1d5618934b787df486d8077f48217f17bf4321b9a151528f67b6e6f383976b |
| Include/internal/pycore_optimizer.h | https://github.com/python/cpython/pull/144300/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
View file
| https://github.com/reidenong/cpython/blob/4e6c7923eeaf2effd01f564d5083acfed93b03e4/Include/internal/pycore_optimizer.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/144300/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/144300/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
| https://github.com/python/cpython/pull/144300/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
| https://github.com/python/cpython/pull/144300/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
| https://github.com/python/cpython/pull/144300/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
|
| https://github.com/python/cpython/pull/144300/files#diff-04d62d99f4a2b418ae2fd0eecece5b153dee4ac843c706a8de03c45a2d65efcc |
| Include/internal/pycore_tuple.h | https://github.com/python/cpython/pull/144300/files#diff-02a8063ded0e44b150c017ff3c40889642e1f3d5da42195701586e8a2c0a233a |
|
View file
| https://github.com/reidenong/cpython/blob/4e6c7923eeaf2effd01f564d5083acfed93b03e4/Include/internal/pycore_tuple.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/144300/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/144300/files#diff-02a8063ded0e44b150c017ff3c40889642e1f3d5da42195701586e8a2c0a233a |
|
| https://github.com/python/cpython/pull/144300/files#diff-02a8063ded0e44b150c017ff3c40889642e1f3d5da42195701586e8a2c0a233a |
| Please reload this page | https://github.com/python/cpython/pull/144300/files |
| Please reload this page | https://github.com/python/cpython/pull/144300/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 |