René's URL Explorer Experiment


Title: bpo-40902: Speed up PEG parser by using Dijkstra's shunting yard algorithm by pablogsal · Pull Request #20696 · python/cpython · GitHub

Open Graph Title: bpo-40902: Speed up PEG parser by using Dijkstra's shunting yard algorithm by pablogsal · Pull Request #20696 · python/cpython

X Title: bpo-40902: Speed up PEG parser by using Dijkstra's shunting yard algorithm by pablogsal · Pull Request #20696 · python/cpython

Description: https://bugs.python.org/issue40902

Open Graph Description: https://bugs.python.org/issue40902

X Description: https://bugs.python.org/issue40902

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:197ff39c-3b2b-0a16-974d-2cd25d5a9920
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA10:334E8C:C32BC3:11CDFEB:6A560A45
html-safe-noncea3ec95043aa9a6d9d05b876ecc5a66232228331ab42c9395442316515a0e54fd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTEwOjMzNEU4QzpDMzJCQzM6MTFDREZFQjo2QTU2MEE0NSIsInZpc2l0b3JfaWQiOiI4MTA5ODk5OTAzMTM0OTkyOTY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfc316c0f089368432a82e0c3c5a992959187ab0badfeb4b72c1ff6b7d0d8c8aa
hovercard-subject-tagpull_request:430423760
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/20696/files
twitter:imagehttps://avatars.githubusercontent.com/u/11718525?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11718525?s=400&v=4
og:image:althttps://bugs.python.org/issue40902
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release85a7179838b41e8b23f939d3b67b53f752ecfc54
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/20696/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F20696%2Ffiles
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%2F20696%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
Reloadhttps://github.com/python/cpython/pull/20696/files
Reloadhttps://github.com/python/cpython/pull/20696/files
Reloadhttps://github.com/python/cpython/pull/20696/files
Please reload this pagehttps://github.com/python/cpython/pull/20696/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/20696/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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
pablogsalhttps://github.com/pablogsal
python:masterhttps://github.com/python/cpython/tree/master
we-like-parsers:operator_precedencehttps://github.com/we-like-parsers/cpython/tree/operator_precedence
Conversation 4 https://github.com/python/cpython/pull/20696
Commits 19 https://github.com/python/cpython/pull/20696/commits
Checks 0 https://github.com/python/cpython/pull/20696/checks
Files changed https://github.com/python/cpython/pull/20696/files
Please reload this pagehttps://github.com/python/cpython/pull/20696/files
bpo-40902: Speed up PEG parser by using Dijkstra's shunting yard algorithm https://github.com/python/cpython/pull/20696/files#top
Show all changes 19 commits https://github.com/python/cpython/pull/20696/files
83337b3 WIP of operator precedence pablogsal Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/83337b3aedf25d3a51eca910b7536eaedbeeb576
9e25541 Generate precedence table pablogsal Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/9e25541c01111f2a6b144ef47f5f0c8197d76a4b
0366b96 Fix test_ast and test_type_comments and address feedback pablogsal Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/0366b968cecd29ff1d6012aa4c8a43cdcc3eef8f
2f979f9 Use a struct to keep track of the augmented info pablogsal Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/2f979f94d9a192a6961c57c0971d2b3a4c249a2b
c51f1ad Remove the macro into a static inline function pablogsal Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/c51f1ad6c78060bc4b20c64c5e7e358712a0dbbd
d0e3ef5 Minor cleanup gvanrossum Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/d0e3ef58dc86c13077d92a3e0330a60a9b3321ff
8f12437 Replace operators[i] with values[i].oper gvanrossum Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/8f1243745c42a91dfc1c1d10a38c605f0682381e
2372f5e Eliminate stack_pos -- it's always output_pos - 1 gvanrossum Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/2372f5e02bd3e5a02ea7190252375f3f4e62cd8a
9398d8f Tiny cleanup gvanrossum Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/9398d8f59ca3bf9913da3a6e6c171ad728807805
1554dea Rename values->stack, output_ptr->stack_top gvanrossum Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/1554dea1db567ff9a97f05e3eb918186acee77c6
0b6f84a Use member assignments instead of creating a new ValueItem gvanrossum Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/0b6f84aa01b3b069cf33739aca26d508707f7ccc
8dd799b Slight tweak of _reduction_step() gvanrossum Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/8dd799be2abd8c029a9e1f832432b3bb8baf6e80
08e588b Raise for now if the associativity of the operators is not 'left' pablogsal Jun 7, 2020 https://github.com/python/cpython/pull/20696/commits/08e588bc41e2f18928dc2fbd6f1e827f2cadb838
882c740 Add a huge block comment explaining the operator precedence parser gvanrossum Jun 8, 2020 https://github.com/python/cpython/pull/20696/commits/882c74095bd0d34e226ee6b9a3bf6a3177ee9ba1
13de6ab Merge remote-tracking branch 'upstream/master' into operator_precedence pablogsal Jun 8, 2020 https://github.com/python/cpython/pull/20696/commits/13de6ab48ecfcb8d69fc867f7d3303251f3c9398
10bc620 Implement right-associative operators pablogsal Jun 8, 2020 https://github.com/python/cpython/pull/20696/commits/10bc6204c6d2093d1fd8efe1ec0ad2bcf927ab32
5320f37 Better error handling pablogsal Jun 8, 2020 https://github.com/python/cpython/pull/20696/commits/5320f37c84d8b15239dd81ef4d84c02821027f25
fe2d89c Remove TODO item pablogsal Jun 8, 2020 https://github.com/python/cpython/pull/20696/commits/fe2d89c3f3c6caa2f652050c8855bedd0c4db4a5
6fee838 Do not use yet '**' in the operators list in the grammar pablogsal Jun 8, 2020 https://github.com/python/cpython/pull/20696/commits/6fee838543146eae432f0938cb10b9899991a14a
Clear filters https://github.com/python/cpython/pull/20696/files
Please reload this pagehttps://github.com/python/cpython/pull/20696/files
Please reload this pagehttps://github.com/python/cpython/pull/20696/files
python.gram https://github.com/python/cpython/pull/20696/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b
parse.c https://github.com/python/cpython/pull/20696/files#diff-a0066ba71aaf2e4958c42c8af79b77a0954bb7af0592adbbd62cc858c4bdb6c9
pegen.c https://github.com/python/cpython/pull/20696/files#diff-0ed7ec9eb1c1598c607560250c03d68b5231d62b6ff651bea09bf4af41f1544d
pegen.h https://github.com/python/cpython/pull/20696/files#diff-d4a9f49107c909c0f1e57dd99583f66009864915bf543994535f4d87139b79f6
c_generator.py https://github.com/python/cpython/pull/20696/files#diff-72bca3f9d3b81d7845baeb20190030d93e9630cb86ebba88854010f7142828a0
Grammar/python.gramhttps://github.com/python/cpython/pull/20696/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b
View file https://github.com/we-like-parsers/cpython/blob/6fee838543146eae432f0938cb10b9899991a14a/Grammar/python.gram
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20696/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20696/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b
https://github.com/python/cpython/pull/20696/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b
https://github.com/python/cpython/pull/20696/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b
https://github.com/python/cpython/pull/20696/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b
Please reload this pagehttps://github.com/python/cpython/pull/20696/files
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.