| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1f23a61e-0cb0-2d55-ac3f-4220cccd8005 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D148:39252:F44CF6:1492F6F:6A570CD5 |
| html-safe-nonce | ffb9f56919d06916fa2ff55782496847f91d9137a28b061a469ce4af5452d02a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTQ4OjM5MjUyOkY0NENGNjoxNDkyRjZGOjZBNTcwQ0Q1IiwidmlzaXRvcl9pZCI6IjQyMzE0NjMyOTg2MTk4NzA0MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ce49a0940a56c50935b6d26e41e672c181ec9767c33db88b60e49279d3276c36 |
| hovercard-subject-tag | pull_request:720374030 |
| 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/27967/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 | Adds the following specializations:
BINARY_ADD_ADAPTIVE
BINARY_ADD_FLOAT
BINARY_ADD_INT
BINARY_ADD_UNICODE
BINARY_ADD_UNICODE_INPLACE_FAST
BINARY_ADD_UNICODE_INPLACE_FAST is needed to keep for ..... |
| 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/27967/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27967%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%2F27967%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/27967/files |
| Reload | https://github.com/python/cpython/pull/27967/files |
| Reload | https://github.com/python/cpython/pull/27967/files |
| Please reload this page | https://github.com/python/cpython/pull/27967/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/27967/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 |
| markshannon | https://github.com/markshannon |
| python:main | https://github.com/python/cpython/tree/main |
| faster-cpython:specialize-binary-add | https://github.com/faster-cpython/cpython/tree/specialize-binary-add |
|
Conversation
13
| https://github.com/python/cpython/pull/27967 |
|
Commits
15
| https://github.com/python/cpython/pull/27967/commits |
|
Checks
0
| https://github.com/python/cpython/pull/27967/checks |
|
Files changed
| https://github.com/python/cpython/pull/27967/files |
| Please reload this page | https://github.com/python/cpython/pull/27967/files |
|
bpo-44945: Specialize BINARY_ADD
| https://github.com/python/cpython/pull/27967/files#top |
|
Show all changes
15 commits
| https://github.com/python/cpython/pull/27967/files |
|
3d0d2b3
Specialize BINARY_ADD.
markshannon Aug 16, 2021
| https://github.com/python/cpython/pull/27967/commits/3d0d2b3eb44dceb008bd9174ae53cc67a0ab6eb2 |
|
40ef9e6
Turn on stats
markshannon Aug 17, 2021
| https://github.com/python/cpython/pull/27967/commits/40ef9e6ff28d65d44e4b00a1cf216da15f8188d0 |
|
6837648
Turn on unicode concat specialization.
markshannon Aug 17, 2021
| https://github.com/python/cpython/pull/27967/commits/68376486f9d90d23671da1cadb7e1b2528db8df0 |
|
0c869ed
Record cache hits for BINARY_ADD and add non-inplace unicode speciali…
markshannon Aug 17, 2021
| https://github.com/python/cpython/pull/27967/commits/0c869ed1dedf56db8ca00c873300c766ffb3edd2 |
|
d2dbd52
Turn off stats
markshannon Aug 17, 2021
| https://github.com/python/cpython/pull/27967/commits/d2dbd52dd9f94bf5c7cfb4e8c58b33e813ff54dd |
|
52ed270
Merge branch 'main' into specialize-binary-add
markshannon Aug 18, 2021
| https://github.com/python/cpython/pull/27967/commits/52ed2704c0fd27e8ce6426517320fd806eadb13a |
|
5cddffc
Add NEWS.
markshannon Aug 18, 2021
| https://github.com/python/cpython/pull/27967/commits/5cddffc95ad63758c014d41a65eb436a70d1ea5c |
|
a68664e
Expose long_add for specialize opcode.
markshannon Aug 23, 2021
| https://github.com/python/cpython/pull/27967/commits/a68664eeaa07bd02731c7302b57d6580316e97fe |
|
873ba62
Remove overly specialized BINARY_ADD_UNICODE_INPLACE_DEREF.
markshannon Aug 24, 2021
| https://github.com/python/cpython/pull/27967/commits/873ba62b5556e4b310e53d91909a4ec1e24c10cf |
|
f7fc525
Merge branch 'main' into specialize-binary-add
markshannon Aug 25, 2021
| https://github.com/python/cpython/pull/27967/commits/f7fc525da7acff795b6b71f20b902c06c5635838 |
|
60ed8a2
Correct NEWS item
markshannon Aug 25, 2021
| https://github.com/python/cpython/pull/27967/commits/60ed8a2b7379e9acecd02a3cd5482268ea1fa5eb |
|
648e215
Delete unused function
markshannon Aug 25, 2021
| https://github.com/python/cpython/pull/27967/commits/648e215e3d01a42faf61e5f44f9a33fa0eb9cb99 |
|
9dd054a
Slight improvement to DEOPT checks in BINARY_ADD specializations.
markshannon Aug 25, 2021
| https://github.com/python/cpython/pull/27967/commits/9dd054a812dddd39f15fb4e4fa9b5536e82dec36 |
|
a22af9a
Merge branch 'main' into specialize-binary-add
markshannon Aug 25, 2021
| https://github.com/python/cpython/pull/27967/commits/a22af9a827e0fcd33534c62f7e1354fbc14f31cc |
|
3146f48
Set initial counts for BINARY_ADD specializations and fix refcount leak.
markshannon Aug 26, 2021
| https://github.com/python/cpython/pull/27967/commits/3146f48931cf37b59818225210b515a13a9693bc |
|
Clear filters
| https://github.com/python/cpython/pull/27967/files |
| Please reload this page | https://github.com/python/cpython/pull/27967/files |
| Please reload this page | https://github.com/python/cpython/pull/27967/files |
|
pycore_code.h
| https://github.com/python/cpython/pull/27967/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
pycore_long.h
| https://github.com/python/cpython/pull/27967/files#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511 |
|
opcode.h
| https://github.com/python/cpython/pull/27967/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed |
|
opcode.py
| https://github.com/python/cpython/pull/27967/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
2021-08-18-11-14-38.bpo-44945.CO3s77.rst
| https://github.com/python/cpython/pull/27967/files#diff-0e95fe66e551d4dc997c73f875e146bde28912bb6fda9086433fe37cd0766fda |
|
longobject.c
| https://github.com/python/cpython/pull/27967/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
ceval.c
| https://github.com/python/cpython/pull/27967/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
opcode_targets.h
| https://github.com/python/cpython/pull/27967/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a |
|
specialize.c
| https://github.com/python/cpython/pull/27967/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2 |
| Include/internal/pycore_code.h | https://github.com/python/cpython/pull/27967/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
View file
| https://github.com/faster-cpython/cpython/blob/3146f48931cf37b59818225210b515a13a9693bc/Include/internal/pycore_code.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27967/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27967/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
| https://github.com/python/cpython/pull/27967/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
| Include/internal/pycore_long.h | https://github.com/python/cpython/pull/27967/files#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511 |
|
View file
| https://github.com/faster-cpython/cpython/blob/3146f48931cf37b59818225210b515a13a9693bc/Include/internal/pycore_long.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27967/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27967/files#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511 |
|
| https://github.com/python/cpython/pull/27967/files#diff-0817b8ffc6c3af36ea39ebabafe70c849d6ee7cb6621d3bda857f3ed25a37511 |
| Include/opcode.h | https://github.com/python/cpython/pull/27967/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed |
|
View file
| https://github.com/faster-cpython/cpython/blob/3146f48931cf37b59818225210b515a13a9693bc/Include/opcode.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/27967/files |
| Lib/opcode.py | https://github.com/python/cpython/pull/27967/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
View file
| https://github.com/faster-cpython/cpython/blob/3146f48931cf37b59818225210b515a13a9693bc/Lib/opcode.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27967/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27967/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
| https://github.com/python/cpython/pull/27967/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
| Misc/NEWS.d/next/Core and Builtins/2021-08-18-11-14-38.bpo-44945.CO3s77.rst | https://github.com/python/cpython/pull/27967/files#diff-0e95fe66e551d4dc997c73f875e146bde28912bb6fda9086433fe37cd0766fda |
|
View file
| https://github.com/faster-cpython/cpython/blob/3146f48931cf37b59818225210b515a13a9693bc/Misc/NEWS.d/next/Core%20and%20Builtins/2021-08-18-11-14-38.bpo-44945.CO3s77.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27967/{{ revealButtonHref }} |
| Objects/longobject.c | https://github.com/python/cpython/pull/27967/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
View file
| https://github.com/faster-cpython/cpython/blob/3146f48931cf37b59818225210b515a13a9693bc/Objects/longobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27967/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27967/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
| https://github.com/python/cpython/pull/27967/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
| https://github.com/python/cpython/pull/27967/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L226 |
| Python/ceval.c | https://github.com/python/cpython/pull/27967/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
View file
| https://github.com/faster-cpython/cpython/blob/3146f48931cf37b59818225210b515a13a9693bc/Python/ceval.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/27967/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/27967/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/pull/27967/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/pull/27967/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
| Fidget-Spinner | https://github.com/Fidget-Spinner |
| Aug 26, 2021 | https://github.com/python/cpython/pull/27967/files#r696688587 |
| Please reload this page | https://github.com/python/cpython/pull/27967/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/27967/files |
| markshannon | https://github.com/markshannon |
| Aug 26, 2021 | https://github.com/python/cpython/pull/27967/files#r696714001 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/27967/files |
|
| https://github.com/python/cpython/pull/27967/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/pull/27967/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/pull/27967/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
| Please reload this page | https://github.com/python/cpython/pull/27967/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 |