René's URL Explorer Experiment


Title: gh-138912: Add dedicated opcodes for MatchClass without positional sub-patterns by cdce8p · Pull Request #139080 · python/cpython · GitHub

Open Graph Title: gh-138912: Add dedicated opcodes for MatchClass without positional sub-patterns by cdce8p · Pull Request #139080 · python/cpython

X Title: gh-138912: Add dedicated opcodes for MatchClass without positional sub-patterns by cdce8p · Pull Request #139080 · python/cpython

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

Open Graph Description: This PR complements and extends the work done in #138915. In a microbenchmark for bare class matches, the match statement is now even slightly faster than the comparable if statement. With keyword ...

X Description: This PR complements and extends the work done in #138915. In a microbenchmark for bare class matches, the match statement is now even slightly faster than the comparable if statement. With keyword ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:37f075e1-84e0-dfaf-f8fa-3dc2d7a5b88e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD694:1D19FE:42413C:591948:6A51E2BF
html-safe-nonce817a081ac16f1c37eeabd2a2a0eb9edb0ade24572ad67955347baa10a56b9f62
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjk0OjFEMTlGRTo0MjQxM0M6NTkxOTQ4OjZBNTFFMkJGIiwidmlzaXRvcl9pZCI6IjY5MzM2MjExNDY2MDE1MTM2NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf65e217e84380b830be795a7bb50845859a6a1d7f976f8819dc5a08f8465f5e4
hovercard-subject-tagpull_request:2837902882
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/139080/commits
twitter:imagehttps://opengraph.githubassets.com/768bcdcb6bd508cced51d7f38b74d97e990da46ca0d89970b0d178ca4e371deb/python/cpython/pull/139080
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/768bcdcb6bd508cced51d7f38b74d97e990da46ca0d89970b0d178ca4e371deb/python/cpython/pull/139080
og:image:altThis PR complements and extends the work done in #138915. In a microbenchmark for bare class matches, the match statement is now even slightly faster than the comparable if statement. With keyword ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecdce8p
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/139080/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139080%2Fcommits
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%2F139080%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/139080/commits
Reloadhttps://github.com/python/cpython/pull/139080/commits
Reloadhttps://github.com/python/cpython/pull/139080/commits
Please reload this pagehttps://github.com/python/cpython/pull/139080/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/139080/commits
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
cdce8phttps://github.com/cdce8p
python:mainhttps://github.com/python/cpython/tree/main
cdce8p:match-class-opcodeshttps://github.com/cdce8p/cpython/tree/match-class-opcodes
Conversationhttps://github.com/python/cpython/pull/139080
Commits19 (19)https://github.com/python/cpython/pull/139080/commits
Checkshttps://github.com/python/cpython/pull/139080/checks
Files changedhttps://github.com/python/cpython/pull/139080/files
gh-138912: Add dedicated opcodes for MatchClass without positional sub-patternshttps://github.com/python/cpython/pull/139080/commits#top
cdce8phttps://github.com/cdce8p
python:mainhttps://github.com/python/cpython/tree/main
cdce8p:match-class-opcodeshttps://github.com/cdce8p/cpython/tree/match-class-opcodes
gh-138912: Add dedicated opcodes for MatchClass without positional sub-patternshttps://github.com/python/cpython/pull/139080/commits/ed93ca10a94c3ece7123ee37b453a95fbcf2da9d
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
ed93ca1https://github.com/python/cpython/pull/139080/commits/ed93ca10a94c3ece7123ee37b453a95fbcf2da9d
https://github.com/python/cpython/tree/ed93ca10a94c3ece7123ee37b453a95fbcf2da9d
Fix ADDOP_JUMPhttps://github.com/python/cpython/pull/139080/commits/2ee12ab595f7069918294a762f2bf7b7c69ba3b3
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
2ee12abhttps://github.com/python/cpython/pull/139080/commits/2ee12ab595f7069918294a762f2bf7b7c69ba3b3
https://github.com/python/cpython/tree/2ee12ab595f7069918294a762f2bf7b7c69ba3b3
Fix peephole testshttps://github.com/python/cpython/pull/139080/commits/d0e73159033d8dc9df23ae35f3c58b9b91aab43a
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
d0e7315https://github.com/python/cpython/pull/139080/commits/d0e73159033d8dc9df23ae35f3c58b9b91aab43a
https://github.com/python/cpython/tree/d0e73159033d8dc9df23ae35f3c58b9b91aab43a
Fix embed testhttps://github.com/python/cpython/pull/139080/commits/64692e6a8a129c52cdbe8e26915f11e8dbad845e
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
64692e6https://github.com/python/cpython/pull/139080/commits/64692e6a8a129c52cdbe8e26915f11e8dbad845e
https://github.com/python/cpython/tree/64692e6a8a129c52cdbe8e26915f11e8dbad845e
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/3314ccdd9ecb74bd954c463f8334c67bb7409a96
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
3314ccdhttps://github.com/python/cpython/pull/139080/commits/3314ccdd9ecb74bd954c463f8334c67bb7409a96
https://github.com/python/cpython/tree/3314ccdd9ecb74bd954c463f8334c67bb7409a96
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/a78e36aaf63f332f9c8fc465dae28d337a81f4ab
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
a78e36ahttps://github.com/python/cpython/pull/139080/commits/a78e36aaf63f332f9c8fc465dae28d337a81f4ab
https://github.com/python/cpython/tree/a78e36aaf63f332f9c8fc465dae28d337a81f4ab
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/88338280e83a42608986806ad3ccb3ab8fd11be9
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
8833828https://github.com/python/cpython/pull/139080/commits/88338280e83a42608986806ad3ccb3ab8fd11be9
https://github.com/python/cpython/tree/88338280e83a42608986806ad3ccb3ab8fd11be9
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/b3ccb13741fff36cd72d5dc8ed26be8fe37441ec
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
b3ccb13https://github.com/python/cpython/pull/139080/commits/b3ccb13741fff36cd72d5dc8ed26be8fe37441ec
https://github.com/python/cpython/tree/b3ccb13741fff36cd72d5dc8ed26be8fe37441ec
Merge branch 'main' into match-class-opcodeshttps://github.com/python/cpython/pull/139080/commits/f1bccb2a949a6c742885d64ed5e0e2c81605ff7d
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
f1bccb2https://github.com/python/cpython/pull/139080/commits/f1bccb2a949a6c742885d64ed5e0e2c81605ff7d
https://github.com/python/cpython/tree/f1bccb2a949a6c742885d64ed5e0e2c81605ff7d
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/54d54cb3db644c398b47b25b27f69fe5866cf6ae
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
54d54cbhttps://github.com/python/cpython/pull/139080/commits/54d54cb3db644c398b47b25b27f69fe5866cf6ae
https://github.com/python/cpython/tree/54d54cb3db644c398b47b25b27f69fe5866cf6ae
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/a96e128ba7f6442185188c136fcac6fecd06fdbf
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
a96e128https://github.com/python/cpython/pull/139080/commits/a96e128ba7f6442185188c136fcac6fecd06fdbf
https://github.com/python/cpython/tree/a96e128ba7f6442185188c136fcac6fecd06fdbf
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/bdfd74ffbfff6f8b23220baa9972d16c7dfa7353
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
bdfd74fhttps://github.com/python/cpython/pull/139080/commits/bdfd74ffbfff6f8b23220baa9972d16c7dfa7353
https://github.com/python/cpython/tree/bdfd74ffbfff6f8b23220baa9972d16c7dfa7353
Fix test casehttps://github.com/python/cpython/pull/139080/commits/055b0191c579da11d52abbf2b4574d9eb8294e09
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
055b019https://github.com/python/cpython/pull/139080/commits/055b0191c579da11d52abbf2b4574d9eb8294e09
https://github.com/python/cpython/tree/055b0191c579da11d52abbf2b4574d9eb8294e09
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/9f50bc8f28eb5bd690c376c1ccfc51fea950d65a
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
9f50bc8https://github.com/python/cpython/pull/139080/commits/9f50bc8f28eb5bd690c376c1ccfc51fea950d65a
https://github.com/python/cpython/tree/9f50bc8f28eb5bd690c376c1ccfc51fea950d65a
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/98ce759b2b92969b196f8275cba74277f9e63939
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
98ce759https://github.com/python/cpython/pull/139080/commits/98ce759b2b92969b196f8275cba74277f9e63939
https://github.com/python/cpython/tree/98ce759b2b92969b196f8275cba74277f9e63939
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/1da12a6c0a5d26b37b1d34f916a8e25db81a53e3
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
1da12a6https://github.com/python/cpython/pull/139080/commits/1da12a6c0a5d26b37b1d34f916a8e25db81a53e3
https://github.com/python/cpython/tree/1da12a6c0a5d26b37b1d34f916a8e25db81a53e3
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/0a0e3a4d8353c324ae4fb50f576633f9e1f064c4
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
0a0e3a4https://github.com/python/cpython/pull/139080/commits/0a0e3a4d8353c324ae4fb50f576633f9e1f064c4
https://github.com/python/cpython/tree/0a0e3a4d8353c324ae4fb50f576633f9e1f064c4
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/90fa9ebf18710d2b72545aa8acc65ba203d33e3b
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
90fa9ebhttps://github.com/python/cpython/pull/139080/commits/90fa9ebf18710d2b72545aa8acc65ba203d33e3b
https://github.com/python/cpython/tree/90fa9ebf18710d2b72545aa8acc65ba203d33e3b
Merge branch 'main'https://github.com/python/cpython/pull/139080/commits/765dd36f7a7b254d8769ac6698fe694dff683cc9
https://github.com/cdce8p
cdce8phttps://github.com/python/cpython/commits?author=cdce8p
765dd36https://github.com/python/cpython/pull/139080/commits/765dd36f7a7b254d8769ac6698fe694dff683cc9
https://github.com/python/cpython/tree/765dd36f7a7b254d8769ac6698fe694dff683cc9
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.