René's URL Explorer Experiment


Title: gh-93714 Create fast version of match_keys for exact dict by da-woods · Pull Request #93752 · python/cpython · GitHub

Open Graph Title: gh-93714 Create fast version of match_keys for exact dict by da-woods · Pull Request #93752 · python/cpython

X Title: gh-93714 Create fast version of match_keys for exact dict by da-woods · Pull Request #93752 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: When the type is an exact dict, there's a real speed-up to be gained by skipping the call to "get" and using PyDict_GetItemWithError instead. The implementation is just a slightly mod...

X Description: When the type is an exact dict, there's a real speed-up to be gained by skipping the call to "get" and using PyDict_GetItemWithError instead. The implementation is just a ...

Opengraph URL: https://github.com/python/cpython/pull/93752

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:03177bb1-3086-7e98-ee6f-83bbe2801894
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8886:13DB1B:68EE7E:8C8A10:6A518C4B
html-safe-nonceb899077219c76e3e0737716c0d5b6354975c1b08126578bdb709f5af0ccc91fe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODg2OjEzREIxQjo2OEVFN0U6OEM4QTEwOjZBNTE4QzRCIiwidmlzaXRvcl9pZCI6IjgxODA1NDQxODIzNDkzMDI4NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf5087a2298a01b030a9db89963b7278dbe556560228506b6a20c2890f103f74e
hovercard-subject-tagpull_request:965027903
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/93752/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5a4ee432d3d5e3fa6d5ebdce0523e1e6361023b6fe023773b61111604851bd89/python/cpython/pull/93752
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5a4ee432d3d5e3fa6d5ebdce0523e1e6361023b6fe023773b61111604851bd89/python/cpython/pull/93752
og:image:altWhen the type is an exact dict, there's a real speed-up to be gained by skipping the call to "get" and using PyDict_GetItemWithError instead. The implementation is just a slightly mod...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameda-woods
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/93752#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F93752
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F93752
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
Reloadhttps://github.com/python/cpython/pull/93752
Reloadhttps://github.com/python/cpython/pull/93752
Reloadhttps://github.com/python/cpython/pull/93752
Please reload this pagehttps://github.com/python/cpython/pull/93752
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/93752
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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
da-woodshttps://github.com/da-woods
python:mainhttps://github.com/python/cpython/tree/main
da-woods:fast-match-keyshttps://github.com/da-woods/cpython/tree/fast-match-keys
Conversationhttps://github.com/python/cpython/pull/93752
Commits2 (2)https://github.com/python/cpython/pull/93752/commits
Checkshttps://github.com/python/cpython/pull/93752/checks
Files changedhttps://github.com/python/cpython/pull/93752/files
gh-93714 Create fast version of match_keys for exact dicthttps://github.com/python/cpython/pull/93752#top
da-woodshttps://github.com/da-woods
python:mainhttps://github.com/python/cpython/tree/main
da-woods:fast-match-keyshttps://github.com/da-woods/cpython/tree/fast-match-keys
https://github.com/da-woods
da-woodshttps://github.com/da-woods
Jun 12, 2022https://github.com/python/cpython/pull/93752#issue-1268617233
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/da-woods
Create fast version of match_keys for exact dicthttps://github.com/python/cpython/pull/93752/commits/128517bb4a044b70cca7bfddb5ea9894e4a01be5
128517bhttps://github.com/python/cpython/pull/93752/commits/128517bb4a044b70cca7bfddb5ea9894e4a01be5
https://github.com/da-woods
da-woodshttps://github.com/da-woods
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/8f728e5baa7a673b83607aaccbd496d77d334ded/.github/CODEOWNERS#L20
June 12, 2022 15:29https://github.com/python/cpython/pull/93752#event-6791598144
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jun 12, 2022https://github.com/python/cpython/pull/93752#event-6791598224
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/93752/commits/0996d525232b495c56cfb3bd9fd0d84cb8174e65
0996d52https://github.com/python/cpython/pull/93752/commits/0996d525232b495c56cfb3bd9fd0d84cb8174e65
https://github.com/da-woods
da-woodshttps://github.com/da-woods
Jun 12, 2022 https://github.com/python/cpython/pull/93752#ref-issue-1268217330
Specialized match_keys for exact dictionary type #93714 https://github.com/python/cpython/issues/93714
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
interpreter-core https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Ainterpreter-core
Jun 12, 2022https://github.com/python/cpython/pull/93752#event-6791659547
https://github.com/sweeneyde
sweeneydehttps://github.com/sweeneyde
Jun 13, 2022https://github.com/python/cpython/pull/93752#issuecomment-1153337558
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/da-woods
da-woodshttps://github.com/da-woods
Jun 13, 2022https://github.com/python/cpython/pull/93752#issuecomment-1153527814
Please reload this pagehttps://github.com/python/cpython/pull/93752
I'd made a set of microbenchmarks for pattern matchinghttps://gist.github.com/da-woods/d7c58ca70580633f6cf6ad545aa08b0a
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/da-woods
da-woodshttps://github.com/da-woods
Jun 13, 2022https://github.com/python/cpython/pull/93752#issuecomment-1153577281
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jun 13, 2022https://github.com/python/cpython/pull/93752#issuecomment-1154069602
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/da-woods
da-woodshttps://github.com/da-woods
Jun 14, 2022https://github.com/python/cpython/pull/93752#issuecomment-1155479612
@brandtbucherhttps://github.com/brandtbucher
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jun 15, 2022https://github.com/python/cpython/pull/93752#issuecomment-1156184021
@brandtbucherhttps://github.com/brandtbucher
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
brandtbucherhttps://github.com/brandtbucher
September 7, 2022 09:40https://github.com/python/cpython/pull/93752#event-7337228619
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 11, 2026https://github.com/python/cpython/pull/93752#issuecomment-4228334549
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Apr 11, 2026https://github.com/python/cpython/pull/93752#event-24403861131
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Jun 1, 2026https://github.com/python/cpython/pull/93752#issuecomment-4595472913
eendebakpt#63https://github.com/eendebakpt/cpython/pull/63
@markshannonhttps://github.com/markshannon
@da-woodshttps://github.com/da-woods
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/da-woods
da-woodshttps://github.com/da-woods
Jun 1, 2026https://github.com/python/cpython/pull/93752#issuecomment-4595555894
@eendebakpthttps://github.com/eendebakpt
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Jun 5, 2026https://github.com/python/cpython/pull/93752#event-26363103887
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Jun 29, 2026 https://github.com/python/cpython/pull/93752#ref-pullrequest-3427731936
gh-138912: Add dedicated opcodes for MatchClass without positional sub-patterns #139080 https://github.com/python/cpython/pull/139080
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F93752
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/brandtbucher
brandtbucher https://github.com/brandtbucher
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
interpreter-core https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Ainterpreter-core
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Please reload this pagehttps://github.com/python/cpython/pull/93752
https://github.com/da-woods
https://github.com/sweeneyde
https://github.com/markshannon
https://github.com/eendebakpt
https://github.com/AA-Turner
https://github.com/bedevere-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.