| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:651ee51f-27ce-49b2-7d33-663f2a1adc18 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C994:6F7C:2A0E72:372A18:696B3939 |
| html-safe-nonce | bf5fbaf949d2b69dbabbe7f76020222ca217aaa018be6074f990be8f4f4b15e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTk0OjZGN0M6MkEwRTcyOjM3MkExODo2OTZCMzkzOSIsInZpc2l0b3JfaWQiOiI1MzY3MDQyMTAzMjI3MTM2MzEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2b711ff092ed77c066602b8195672d9e662db6070c96f960b52e15f635ce0e10 |
| hovercard-subject-tag | pull_request:2439013824 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/132065/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/17f3cdd900dc07fcf4fa978c032193fa9c4a91977b9e442c181dedf1e982c1b7/python/cpython/pull/132065 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/17f3cdd900dc07fcf4fa978c032193fa9c4a91977b9e442c181dedf1e982c1b7/python/cpython/pull/132065 |
| og:image:alt | Benchmark for all zeros
Benchmark
regex_decimal
non_regex_ends_fast_decimal
exact
230 ns
83.5 ns: 2.76x faster
No zeros 1
199 ns
83.9 ns: 2.38x faster
No zeros 10
207 ns
84.1 ns: 2.46x f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Marius-Juston |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| 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/132065#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F132065 |
| 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%2F132065 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/132065 |
| Reload | https://github.com/python/cpython/pull/132065 |
| Reload | https://github.com/python/cpython/pull/132065 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
|
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/132065 |
|
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 |
| Jump to bottom | https://github.com/python/cpython/pull/132065#issue-comment-box |
| Marius-Juston | https://github.com/Marius-Juston |
| python:main | https://github.com/python/cpython/tree/main |
| Marius-Juston:_pydecimal | https://github.com/Marius-Juston/cpython/tree/_pydecimal |
|
gh-130167: Improve speed of _pydecimal._all_zeros and _pydecimal._exact_half by replacing re
| https://github.com/python/cpython/pull/132065#top |
| Marius-Juston | https://github.com/Marius-Juston |
| python:main | https://github.com/python/cpython/tree/main |
| Marius-Juston:_pydecimal | https://github.com/Marius-Juston/cpython/tree/_pydecimal |
|
Conversation
12
| https://github.com/python/cpython/pull/132065 |
|
Commits
10
| https://github.com/python/cpython/pull/132065/commits |
|
Checks
35
| https://github.com/python/cpython/pull/132065/checks |
|
Files changed
| https://github.com/python/cpython/pull/132065/files |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/Marius-Juston |
| Marius-Juston | https://github.com/Marius-Juston |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#issue-2971789956 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| Improve speed of stdlib functions by replacing re uses #130167 | https://github.com/python/cpython/issues/130167 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| Marius-Juston | https://github.com/Marius-Juston |
| April 4, 2025 04:01 | https://github.com/python/cpython/pull/132065#commits-pushed-1bd422a |
|
| https://github.com/Marius-Juston |
| fast compute of _all_zeroes function | https://github.com/python/cpython/pull/132065/commits/1bd422a6c117515fb965cb35e2e1fd3cb04e895e |
| 1bd422a | https://github.com/python/cpython/pull/132065/commits/1bd422a6c117515fb965cb35e2e1fd3cb04e895e |
|
| https://github.com/Marius-Juston |
| Added news | https://github.com/python/cpython/pull/132065/commits/d5e634ca5186d1ba6d3eef22f7b65c3002673a1f |
| d5e634c | https://github.com/python/cpython/pull/132065/commits/d5e634ca5186d1ba6d3eef22f7b65c3002673a1f |
|
| https://github.com/Marius-Juston |
| speed up for exact half | https://github.com/python/cpython/pull/132065/commits/7037f19adfe276af541536f63705b8f870010c8e |
| 7037f19 | https://github.com/python/cpython/pull/132065/commits/7037f19adfe276af541536f63705b8f870010c8e |
|
| https://github.com/Marius-Juston |
| updated news | https://github.com/python/cpython/pull/132065/commits/1b34a8928d03d30d1252e7cd928dab1095c11d86 |
| 1b34a89 | https://github.com/python/cpython/pull/132065/commits/1b34a8928d03d30d1252e7cd928dab1095c11d86 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#event-17126834112 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Apr 4, 2025
| https://github.com/python/cpython/pull/132065#ref-issue-2855818065 |
|
Improve speed of stdlib functions by replacing re uses
#130167
| https://github.com/python/cpython/issues/130167 |
| Marius-Juston | https://github.com/Marius-Juston |
| April 4, 2025 04:41 | https://github.com/python/cpython/pull/132065#commits-pushed-c498ae6 |
|
| https://github.com/Marius-Juston |
| corrected indexing checks for exact half | https://github.com/python/cpython/pull/132065/commits/c498ae6d96c3e942144f573e5e7b31ac5874ff77 |
| c498ae6 | https://github.com/python/cpython/pull/132065/commits/c498ae6d96c3e942144f573e5e7b31ac5874ff77 |
|
| https://github.com/Marius-Juston |
| update news performance value | https://github.com/python/cpython/pull/132065/commits/328c99be00072a3f990a2b6be614b47cafff43c9 |
| 328c99b | https://github.com/python/cpython/pull/132065/commits/328c99be00072a3f990a2b6be614b47cafff43c9 |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
|
Apr 4, 2025
| https://github.com/python/cpython/pull/132065#pullrequestreview-2742529646 |
|
View reviewed changes
| https://github.com/python/cpython/pull/132065/files/328c99be00072a3f990a2b6be614b47cafff43c9 |
| Lib/_pydecimal.py | https://github.com/python/cpython/pull/132065/files/328c99be00072a3f990a2b6be614b47cafff43c9#diff-fad420a37a1acebb2eb47f65bf3bd7e6aedc561cc51141bd3663c0e397d41c50 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
|
Apr 4, 2025
| https://github.com/python/cpython/pull/132065#pullrequestreview-2742531271 |
|
View reviewed changes
| https://github.com/python/cpython/pull/132065/files/328c99be00072a3f990a2b6be614b47cafff43c9 |
| Lib/_pydecimal.py | https://github.com/python/cpython/pull/132065/files/328c99be00072a3f990a2b6be614b47cafff43c9#diff-fad420a37a1acebb2eb47f65bf3bd7e6aedc561cc51141bd3663c0e397d41c50 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#issuecomment-2778254189 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| https://github.com/eendebakpt |
| eendebakpt | https://github.com/eendebakpt |
|
Apr 4, 2025
| https://github.com/python/cpython/pull/132065#pullrequestreview-2742538116 |
|
View reviewed changes
| https://github.com/python/cpython/pull/132065/files/328c99be00072a3f990a2b6be614b47cafff43c9 |
| Lib/_pydecimal.py | https://github.com/python/cpython/pull/132065/files/328c99be00072a3f990a2b6be614b47cafff43c9#diff-fad420a37a1acebb2eb47f65bf3bd7e6aedc561cc51141bd3663c0e397d41c50 |
| eendebakpt | https://github.com/eendebakpt |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#discussion_r2028554056 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| Marius-Juston | https://github.com/Marius-Juston |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#discussion_r2028689389 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| Marius-Juston | https://github.com/Marius-Juston |
| April 4, 2025 07:03 | https://github.com/python/cpython/pull/132065#commits-pushed-b6a8014 |
|
| https://github.com/Marius-Juston |
|
| https://github.com/eendebakpt |
| Update Lib/_pydecimal.py | https://github.com/python/cpython/pull/132065/commits/b6a801497df192a7b5601594172e882c644e1708 |
| b6a8014 | https://github.com/python/cpython/pull/132065/commits/b6a801497df192a7b5601594172e882c644e1708 |
|
| https://github.com/Marius-Juston |
|
| https://github.com/eendebakpt |
| Update Lib/_pydecimal.py | https://github.com/python/cpython/pull/132065/commits/027d93da7e95888b730613a7973a2c750258b12a |
| 027d93d | https://github.com/python/cpython/pull/132065/commits/027d93da7e95888b730613a7973a2c750258b12a |
|
| https://github.com/Marius-Juston |
| simplified and sped up _all_zeros compute | https://github.com/python/cpython/pull/132065/commits/34486ddd5d1dad061cb7bbb44c761cbdf0a27c48 |
| 34486dd | https://github.com/python/cpython/pull/132065/commits/34486ddd5d1dad061cb7bbb44c761cbdf0a27c48 |
| https://github.com/Marius-Juston |
| Marius-Juston | https://github.com/Marius-Juston |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#issuecomment-2778533874 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
|
| https://github.com/Marius-Juston |
| simplified and sped up exact_half | https://github.com/python/cpython/pull/132065/commits/faae133bbd3773f1686fcb909593b6f75a32eddd |
| faae133 | https://github.com/python/cpython/pull/132065/commits/faae133bbd3773f1686fcb909593b6f75a32eddd |
| https://github.com/Marius-Juston |
| Marius-Juston | https://github.com/Marius-Juston |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#issuecomment-2778582494 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| https://github.com/Marius-Juston |
| Marius-Juston | https://github.com/Marius-Juston |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#issuecomment-2778599807 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#issuecomment-2778666463 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| https://github.com/skirpichev |
| skirpichev | https://github.com/skirpichev |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#issuecomment-2778677905 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| https://github.com/Marius-Juston |
| Marius-Juston | https://github.com/Marius-Juston |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#issuecomment-2778747369 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
| https://github.com/Marius-Juston |
| Marius-Juston | https://github.com/Marius-Juston |
| Apr 4, 2025 | https://github.com/python/cpython/pull/132065#event-17130439067 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F132065 |
|
| https://github.com/eendebakpt |
|
eendebakpt
| https://github.com/eendebakpt |
|
| https://github.com/python/cpython/pull/132065/files/328c99be00072a3f990a2b6be614b47cafff43c9 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Please reload this page | https://github.com/python/cpython/pull/132065 |
|
| https://github.com/Marius-Juston |
|
| https://github.com/eendebakpt |
|
| https://github.com/picnixz |
|
| https://github.com/skirpichev |
|
| 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 |