| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3c3bcd1e-a557-789a-4607-f744da18cfbf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6F2:39E76C:207AB04:2C3AA83:6A541355 |
| html-safe-nonce | 3190862bc0ce427db06db99e50b1d4eb2eceeaf2807ead528443474edcd91594 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkYyOjM5RTc2QzoyMDdBQjA0OjJDM0FBODM6NkE1NDEzNTUiLCJ2aXNpdG9yX2lkIjoiMTkzNjcxNTIzMjQ4Mzc4NzA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 55676b23346ee23f55c243481eb014874ac3db650faea2061f36b77501363084 |
| hovercard-subject-tag | pull_request:286459770 |
| 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/13930/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 | https://bugs.python.org/issue37207 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/13930/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F13930%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%2F13930%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/13930/files |
| Reload | https://github.com/python/cpython/pull/13930/files |
| Reload | https://github.com/python/cpython/pull/13930/files |
| Please reload this page | https://github.com/python/cpython/pull/13930/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/13930/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:master | https://github.com/python/cpython/tree/master |
| markshannon:vectorcall-range | https://github.com/markshannon/cpython/tree/vectorcall-range |
|
Conversation
28
| https://github.com/python/cpython/pull/13930 |
|
Commits
10
| https://github.com/python/cpython/pull/13930/commits |
|
Checks
0
| https://github.com/python/cpython/pull/13930/checks |
|
Files changed
| https://github.com/python/cpython/pull/13930/files |
| Please reload this page | https://github.com/python/cpython/pull/13930/files |
|
bpo-37207: Use PEP 590 vectorcall to speed up range(), list() and dict() by about 30%
| https://github.com/python/cpython/pull/13930/files#top |
|
Show all changes
10 commits
| https://github.com/python/cpython/pull/13930/files |
|
c01d5b5
Use vector call for range().
markshannon Apr 1, 2019
| https://github.com/python/cpython/pull/13930/commits/c01d5b5b6144ce2fdb602886cd999b995945c224 |
|
6075fc1
Use vector call for list()
markshannon Apr 2, 2019
| https://github.com/python/cpython/pull/13930/commits/6075fc1c01759b69a5022dad4a3b4223003382b0 |
|
9d86ea5
Use vector call for dict()
markshannon Apr 20, 2019
| https://github.com/python/cpython/pull/13930/commits/9d86ea5c53dd48984201cb4c65a9f59edd44daad |
|
20eea92
Add news entry.
markshannon Jun 9, 2019
| https://github.com/python/cpython/pull/13930/commits/20eea929edd39787e22e5426111f97e35f4f7541 |
|
821af67
Fix up error messages in list/dict/range vectorcall implements to mat…
markshannon Jun 13, 2019
| https://github.com/python/cpython/pull/13930/commits/821af67ca05e6cedf426dc13da15eb402c86153c |
|
0049db8
Fix refcount leak in range_vectorcall.
markshannon Jun 13, 2019
| https://github.com/python/cpython/pull/13930/commits/0049db81f2dca06b116930a72ce6bc937d34c1aa |
|
8d4a250
Reformat vectorcall functions to conform to standard coding style.
markshannon Jun 14, 2019
| https://github.com/python/cpython/pull/13930/commits/8d4a2507e9bb80fa4bdd7c33629c594c6e8d7eb5 |
|
989a3d7
Minor formatting changes.
markshannon Jun 23, 2019
| https://github.com/python/cpython/pull/13930/commits/989a3d7226f9a5b5e1b8565c8fa215b662c45019 |
|
525ff6c
Inherit tp_vectorcall when safe to do so.
markshannon Aug 4, 2019
| https://github.com/python/cpython/pull/13930/commits/525ff6cd443bbdfafd8530597247359faa69b06b |
|
c319141
Fix compiler warning.
markshannon Sep 12, 2019
| https://github.com/python/cpython/pull/13930/commits/c31914168b7c0e946ed3fe13f78adc75a36090ea |
|
Clear filters
| https://github.com/python/cpython/pull/13930/files |
| Please reload this page | https://github.com/python/cpython/pull/13930/files |
| Please reload this page | https://github.com/python/cpython/pull/13930/files |
|
2019-06-09-10-54-31.bpo-37207.bLjgLR.rst
| https://github.com/python/cpython/pull/13930/files#diff-262b6dab3e3316f74685335debed60d5ebe1e17d7b14cf572f68333c538dac2e |
|
dictobject.c
| https://github.com/python/cpython/pull/13930/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
listobject.c
| https://github.com/python/cpython/pull/13930/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
|
rangeobject.c
| https://github.com/python/cpython/pull/13930/files#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d |
|
typeobject.c
| https://github.com/python/cpython/pull/13930/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
| Misc/NEWS.d/next/Core and Builtins/2019-06-09-10-54-31.bpo-37207.bLjgLR.rst | https://github.com/python/cpython/pull/13930/files#diff-262b6dab3e3316f74685335debed60d5ebe1e17d7b14cf572f68333c538dac2e |
|
View file
| https://github.com/markshannon/cpython/blob/c31914168b7c0e946ed3fe13f78adc75a36090ea/Misc/NEWS.d/next/Core%20and%20Builtins/2019-06-09-10-54-31.bpo-37207.bLjgLR.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13930/{{ revealButtonHref }} |
| Objects/dictobject.c | https://github.com/python/cpython/pull/13930/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
View file
| https://github.com/markshannon/cpython/blob/c31914168b7c0e946ed3fe13f78adc75a36090ea/Objects/dictobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13930/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13930/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
| methane | https://github.com/methane |
| Sep 12, 2019 | https://github.com/python/cpython/pull/13930/files#r323699391 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/13930/files |
|
| https://github.com/python/cpython/pull/13930/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/13930/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/13930/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
| Objects/listobject.c | https://github.com/python/cpython/pull/13930/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
|
View file
| https://github.com/markshannon/cpython/blob/c31914168b7c0e946ed3fe13f78adc75a36090ea/Objects/listobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13930/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13930/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
|
| https://github.com/python/cpython/pull/13930/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
|
| https://github.com/python/cpython/pull/13930/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
|
| https://github.com/python/cpython/pull/13930/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
| Objects/rangeobject.c | https://github.com/python/cpython/pull/13930/files#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d |
|
View file
| https://github.com/markshannon/cpython/blob/c31914168b7c0e946ed3fe13f78adc75a36090ea/Objects/rangeobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13930/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13930/files#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d |
| Please reload this page | https://github.com/python/cpython/pull/13930/files |
|
| https://github.com/python/cpython/pull/13930/files#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d |
|
| https://github.com/python/cpython/pull/13930/files#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d |
|
| https://github.com/python/cpython/pull/13930/files#diff-57cf7b657aa9de8cff0fe5dd08e43061fd5dae05dfd8446f99831fd1f7e0230d |
| Objects/typeobject.c | https://github.com/python/cpython/pull/13930/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
View file
| https://github.com/markshannon/cpython/blob/c31914168b7c0e946ed3fe13f78adc75a36090ea/Objects/typeobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/13930/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/13930/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
| methane | https://github.com/methane |
| Sep 12, 2019 | https://github.com/python/cpython/pull/13930/files#r323698234 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/13930/files |
|
| https://github.com/python/cpython/pull/13930/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
| 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 |