| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5a1d34fb-38f0-8faa-be5e-de724b9fda38 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B10:FC316:1D9ED1D:2729E1F:696AFD1C |
| html-safe-nonce | fe77aef606b1a7a4faac57d4e9e4ee61557c39e894c85e1fed8a2d4252c942fb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjEwOkZDMzE2OjFEOUVEMUQ6MjcyOUUxRjo2OTZBRkQxQyIsInZpc2l0b3JfaWQiOiI3MTE0MjEwNjY1ODE4Njg0NzAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 68fa6095010d98564e02fadccfb18bc3f560238efcdefb249d7595119feef917 |
| hovercard-subject-tag | pull_request:3133321361 |
| 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/143262/files |
| twitter:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| og:image:alt | Optimize base64 encoding/decoding by eliminating loop-carried dependencies. Key changes:
Add base64_encode_trio() and base64_decode_quad() helper functions that process complete groups independent... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/143262/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143262%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F143262%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/143262/files |
| Reload | https://github.com/python/cpython/pull/143262/files |
| Reload | https://github.com/python/cpython/pull/143262/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/143262/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/143262/files |
|
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
| 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 |
| gpshead | https://github.com/gpshead |
| python:main | https://github.com/python/cpython/tree/main |
| gpshead:opt-base64-cpu | https://github.com/gpshead/cpython/tree/opt-base64-cpu |
|
Conversation
15
| https://github.com/python/cpython/pull/143262 |
|
Commits
13
| https://github.com/python/cpython/pull/143262/commits |
|
Checks
44
| https://github.com/python/cpython/pull/143262/checks |
|
Files changed
| https://github.com/python/cpython/pull/143262/files |
| Please reload this page | https://github.com/python/cpython/pull/143262/files |
|
gh-124951: Optimize base64 encode & decode for an easy 2-3x speedup [no SIMD]
| https://github.com/python/cpython/pull/143262/files#top |
|
Show all changes
13 commits
| https://github.com/python/cpython/pull/143262/files |
|
2d2be30
Add base64 benchmark tool and optimize encoding/decoding
gpshead Dec 28, 2025
| https://github.com/python/cpython/pull/143262/commits/2d2be302a54131fe6ad9c02eb91be020e7ca1c42 |
|
573eaf3
Fix MSVC build: move table_b2a_base64 before inline functions
gpshead Dec 29, 2025
| https://github.com/python/cpython/pull/143262/commits/573eaf3fb7d95b44a95225483eab26c09f757b67 |
|
eaac671
NEWS entry
gpshead Dec 29, 2025
| https://github.com/python/cpython/pull/143262/commits/eaac67169aeb0894cdc8686dd9ee50e7b7aae6a3 |
|
060dbf5
Add a whatsnew entry
gpshead Dec 29, 2025
| https://github.com/python/cpython/pull/143262/commits/060dbf5ee1ef38214b76c4d42807e1b29dd42c94 |
|
1e12273
expose the benchmark defaults in the help text.
gpshead Dec 29, 2025
| https://github.com/python/cpython/pull/143262/commits/1e12273abe55e73038b283430c38b8832fbcd5c1 |
|
ef38895
Align base64 tables to 64-byte cache line boundaries
gpshead Dec 29, 2025
| https://github.com/python/cpython/pull/143262/commits/ef38895ff3208ed439ba1c63e7a26ea1c77a72ca |
|
7458c99
Use BASE64_PAD macro instead of literal '=' in fast path
gpshead Dec 29, 2025
| https://github.com/python/cpython/pull/143262/commits/7458c99764b5d590282f126d868c25e11ec0cada |
|
1f8ff74
Simplify block comment for base64 helpers
gpshead Dec 29, 2025
| https://github.com/python/cpython/pull/143262/commits/1f8ff742672fda7cb6b88689f4be74f985ec6679 |
|
4b1245b
Remove binasciibench in favor of pyperformance bm_base64 addition PR.
gpshead Dec 29, 2025
| https://github.com/python/cpython/pull/143262/commits/4b1245be20dcbad0158f2a70fbda7d01c6a59701 |
|
4b50c73
reword L1 cache line comment
gpshead Jan 2, 2026
| https://github.com/python/cpython/pull/143262/commits/4b50c736df0c434f313d0a956e9e97921433e179 |
|
f7b27ee
doc Contributed by
gpshead Jan 2, 2026
| https://github.com/python/cpython/pull/143262/commits/f7b27eeb00ed40adbbdc8ae784bfa898cbe4fc2d |
|
2b13b81
Remove redundant PAD check in base64 decode fast path
gpshead Jan 2, 2026
| https://github.com/python/cpython/pull/143262/commits/2b13b81396a0a6edce4338ad11ad646487c6140d |
|
30976a9
Use pointer increment in base64_encode_fast
gpshead Jan 2, 2026
| https://github.com/python/cpython/pull/143262/commits/30976a90eb3a6cb5383ced997fd8fd2ab6fa018a |
|
Clear filters
| https://github.com/python/cpython/pull/143262/files |
| Please reload this page | https://github.com/python/cpython/pull/143262/files |
| Please reload this page | https://github.com/python/cpython/pull/143262/files |
|
3.15.rst
| https://github.com/python/cpython/pull/143262/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
2025-12-29-00-42-26.gh-issue-124951.OsC5K4.rst
| https://github.com/python/cpython/pull/143262/files#diff-895bb012f83fedde10355c2540e8650f45c47658e12a8d1cb6cca2d4f78e027b |
|
binascii.c
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114 |
| Doc/whatsnew/3.15.rst | https://github.com/python/cpython/pull/143262/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
View file
| https://github.com/gpshead/cpython/blob/30976a90eb3a6cb5383ced997fd8fd2ab6fa018a/Doc/whatsnew/3.15.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/143262/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/143262/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
| Please reload this page | https://github.com/python/cpython/pull/143262/files |
|
| https://github.com/python/cpython/pull/143262/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
| Misc/NEWS.d/next/Library/2025-12-29-00-42-26.gh-issue-124951.OsC5K4.rst | https://github.com/python/cpython/pull/143262/files#diff-895bb012f83fedde10355c2540e8650f45c47658e12a8d1cb6cca2d4f78e027b |
|
View file
| https://github.com/gpshead/cpython/blob/30976a90eb3a6cb5383ced997fd8fd2ab6fa018a/Misc/NEWS.d/next/Library/2025-12-29-00-42-26.gh-issue-124951.OsC5K4.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/143262/{{ revealButtonHref }} |
| Modules/binascii.c | https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
View file
| https://github.com/gpshead/cpython/blob/30976a90eb3a6cb5383ced997fd8fd2ab6fa018a/Modules/binascii.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/143262/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
| Please reload this page | https://github.com/python/cpython/pull/143262/files |
|
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
| Please reload this page | https://github.com/python/cpython/pull/143262/files |
|
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
|
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
| Please reload this page | https://github.com/python/cpython/pull/143262/files |
|
| https://github.com/python/cpython/pull/143262/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c |
| Please reload this page | https://github.com/python/cpython/pull/143262/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 |