| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:493c3d21-db33-320f-fa9f-2844eac9ec4a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE16:2E124E:48CB2A4:5CBD99B:6B025D7B |
| html-safe-nonce | e1ca9932f31e74df72e8f8c89f80680fa7dd03080525ecb75c1aee16a952fbdb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTE2OjJFMTI0RTo0OENCMkE0OjVDQkQ5OUI6NkIwMjVEN0IiLCJ2aXNpdG9yX2lkIjoiMTA4OTgzMDkwNjQzMDExOTI5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 98541a71b631f67afde4275c6025e17a6c6a906ff11c4be11c3514b4618fdc48 |
| hovercard-subject-tag | pull_request:765954589 |
| 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/29221/files |
| twitter:image | https://avatars.githubusercontent.com/u/36520290?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/36520290?s=400&v=4 |
| og:image:alt | Specialization and pyperformance data for this PR here: https://gist.github.com/sweeneyde/91855e50feb9992b604ddda2d4f1511e , including microbenchmarks:
Benchmark
main_subscr_micro
subscr_micro
... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/29221/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29221%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29221%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/29221/files |
| Reload | https://github.com/python/cpython/pull/29221/files |
| Reload | https://github.com/python/cpython/pull/29221/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| 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 |
| sweeneyde | https://github.com/sweeneyde |
| python:main | https://github.com/python/cpython/tree/main |
| sweeneyde:store_subscr | https://github.com/sweeneyde/cpython/tree/store_subscr |
|
Conversation
1
| https://github.com/python/cpython/pull/29221 |
|
Commits
5
| https://github.com/python/cpython/pull/29221/commits |
|
Checks
0
| https://github.com/python/cpython/pull/29221/checks |
|
Files changed
| https://github.com/python/cpython/pull/29221/files |
| Please reload this page | https://github.com/python/cpython/pull/29221/files |
|
bpo-45609: Specialize STORE_SUBSCR
| https://github.com/python/cpython/pull/29221/files#top |
|
Show all changes
5 commits
| https://github.com/python/cpython/pull/29221/files |
|
0baeaed
first draft with temporary stats
sweeneyde Oct 24, 2021
| https://github.com/python/cpython/pull/29221/commits/0baeaedc8a7b991ae3281c1f0512b5dbd7afc19c |
|
9a795a8
3 specializations: list[int], dict[str], bytearray[int]
sweeneyde Oct 25, 2021
| https://github.com/python/cpython/pull/29221/commits/9a795a8f994e06fac70f4dac854dbe3d036802ee |
|
52e2333
📜🤖 Added by blurb_it.
blurb-it[bot] Oct 26, 2021
| https://github.com/python/cpython/pull/29221/commits/52e23330a8fae0ca50ace09db87557defbf1d76c |
|
5dd0657
Refactor bytearray opcode and fix asan compaints
sweeneyde Oct 26, 2021
| https://github.com/python/cpython/pull/29221/commits/5dd0657141b6459aa76ffe7f20b80d7ddbe0b28a |
|
50ed84c
Merge branch 'store_subscr' of https://github.com/sweeneyde/cpython i…
sweeneyde Oct 26, 2021
| https://github.com/python/cpython/pull/29221/commits/50ed84c64605868772c02c9a7551717afe029a9e |
|
Clear filters
| https://github.com/python/cpython/pull/29221/files |
| Please reload this page | https://github.com/python/cpython/pull/29221/files |
| Please reload this page | https://github.com/python/cpython/pull/29221/files |
|
pycore_code.h
| https://github.com/python/cpython/pull/29221/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
pycore_dict.h
| https://github.com/python/cpython/pull/29221/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
|
opcode.h
| https://github.com/python/cpython/pull/29221/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed |
|
opcode.py
| https://github.com/python/cpython/pull/29221/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
2021-10-26-01-01-17.bpo-45609.L1GKPX.rst
| https://github.com/python/cpython/pull/29221/files#diff-b67fd86f895c8113caad8d313ceb76dfc265d1936e17c4bfec641f4bff51a99a |
|
dictobject.c
| https://github.com/python/cpython/pull/29221/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
ceval.c
| https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
opcode_targets.h
| https://github.com/python/cpython/pull/29221/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a |
|
specialize.c
| https://github.com/python/cpython/pull/29221/files#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2 |
| Include/internal/pycore_code.h | https://github.com/python/cpython/pull/29221/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
View file
| https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Include/internal/pycore_code.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29221/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29221/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
| https://github.com/python/cpython/pull/29221/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
| Include/internal/pycore_dict.h | https://github.com/python/cpython/pull/29221/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
|
View file
| https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Include/internal/pycore_dict.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29221/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29221/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
|
| https://github.com/python/cpython/pull/29221/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
| Include/opcode.h | https://github.com/python/cpython/pull/29221/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed |
|
View file
| https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/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/29221/files |
| Lib/opcode.py | https://github.com/python/cpython/pull/29221/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
View file
| https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Lib/opcode.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29221/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29221/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
| https://github.com/python/cpython/pull/29221/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
| Misc/NEWS.d/next/Core and Builtins/2021-10-26-01-01-17.bpo-45609.L1GKPX.rst | https://github.com/python/cpython/pull/29221/files#diff-b67fd86f895c8113caad8d313ceb76dfc265d1936e17c4bfec641f4bff51a99a |
|
View file
| https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Misc/NEWS.d/next/Core%20and%20Builtins/2021-10-26-01-01-17.bpo-45609.L1GKPX.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29221/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L212 |
| Objects/dictobject.c | https://github.com/python/cpython/pull/29221/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
View file
| https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Objects/dictobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29221/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29221/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/29221/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L223 |
| Python/ceval.c | https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
View file
| https://github.com/sweeneyde/cpython/blob/50ed84c64605868772c02c9a7551717afe029a9e/Python/ceval.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29221/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/pull/29221/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
| Please reload this page | https://github.com/python/cpython/pull/29221/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 |