René's URL Explorer Experiment


Title: Lexer: extract matches with PREG_PATTERN_ORDER (~40% faster lexing) by JanTvrdik · Pull Request #313 · phpstan/phpdoc-parser · GitHub

Open Graph Title: Lexer: extract matches with PREG_PATTERN_ORDER (~40% faster lexing) by JanTvrdik · Pull Request #313 · phpstan/phpdoc-parser

X Title: Lexer: extract matches with PREG_PATTERN_ORDER (~40% faster lexing) by JanTvrdik · Pull Request #313 · phpstan/phpdoc-parser

Description: Next-gen phpDoc parser with support for intersection types and generics - Lexer: extract matches with PREG_PATTERN_ORDER (~40% faster lexing) by JanTvrdik · Pull Request #313 · phpstan/phpdoc-parser

Open Graph Description: Lexer::tokenize() spends most of its time building match arrays that it throws away again. Two changes, which only pay off together, take ~40% off lexing and ~19% off end-to-end PHPDoc parsing. No ...

X Description: Lexer::tokenize() spends most of its time building match arrays that it throws away again. Two changes, which only pay off together, take ~40% off lexing and ~19% off end-to-end PHPDoc parsing. No ...

Opengraph URL: https://github.com/phpstan/phpdoc-parser/pull/313

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:051992e9-910e-2a66-5aa7-1d04cd474f9a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9D52:2DB985:81A92:B61DF:6B0061D9
html-safe-nonceddf53864857133c56f55f6ba372b55340de4e191c0e53f67b379bb7fb5267c42
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDUyOjJEQjk4NTo4MUE5MjpCNjFERjo2QjAwNjFEOSIsInZpc2l0b3JfaWQiOiI4NjgxNjg1NDU0Njk4ODY1MTEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacafb4f7d2fc8709cb2603e2a2dfa32efaaf0a626f9f8e725d875767018f26c86b
hovercard-subject-tagpull_request:4403378390
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/phpstan/phpdoc-parser/313/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8cd810a0793cc30b1ae4a1af445020828b4babe22c1543628b5877d4f9856449/phpstan/phpdoc-parser/pull/313
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8cd810a0793cc30b1ae4a1af445020828b4babe22c1543628b5877d4f9856449/phpstan/phpdoc-parser/pull/313
og:image:altLexer::tokenize() spends most of its time building match arrays that it throws away again. Two changes, which only pay off together, take ~40% off lexing and ~19% off end-to-end PHPDoc parsing. No ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJanTvrdik
hostnamegithub.com
expected-hostnamegithub.com
None25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpdoc-parser git https://github.com/phpstan/phpdoc-parser.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id111290081
octolytics-dimension-repository_nwophpstan/phpdoc-parser
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id111290081
octolytics-dimension-repository_network_root_nwophpstan/phpdoc-parser
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
releasee4f5c239e31f1f680e6bbc419ff92d774da616ec
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpdoc-parser/pull/313#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpdoc-parser%2Fpull%2F313
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpdoc-parser%2Fpull%2F313
Sign uphttps://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=phpstan%2Fphpdoc-parser
Reloadhttps://github.com/phpstan/phpdoc-parser/pull/313
Reloadhttps://github.com/phpstan/phpdoc-parser/pull/313
Reloadhttps://github.com/phpstan/phpdoc-parser/pull/313
phpstanhttps://github.com/phpstan
phpdoc-parserhttps://github.com/phpstan/phpdoc-parser
Codehttps://github.com/phpstan/phpdoc-parser
Issues7 (7)https://github.com/phpstan/phpdoc-parser/issues
Pull requests14 (14)https://github.com/phpstan/phpdoc-parser/pulls
Actionshttps://github.com/phpstan/phpdoc-parser/actions
Projectshttps://github.com/phpstan/phpdoc-parser/projects
Security and qualityhttps://github.com/phpstan/phpdoc-parser/security
Insightshttps://github.com/phpstan/phpdoc-parser/insights
https://github.com/phpstan/phpdoc-parser
ondrejmirteshttps://github.com/ondrejmirtes
2.3.xhttps://github.com/phpstan/phpdoc-parser/tree/2.3.x
lexer-preg-pattern-orderhttps://github.com/phpstan/phpdoc-parser/tree/lexer-preg-pattern-order
Conversationhttps://github.com/phpstan/phpdoc-parser/pull/313
Commits2 (2)https://github.com/phpstan/phpdoc-parser/pull/313/commits
Checkshttps://github.com/phpstan/phpdoc-parser/pull/313/checks
Files changedhttps://github.com/phpstan/phpdoc-parser/pull/313/files
Lexer: extract matches with PREG_PATTERN_ORDER (~40% faster lexing)https://github.com/phpstan/phpdoc-parser/pull/313#top
ondrejmirteshttps://github.com/ondrejmirtes
2.3.xhttps://github.com/phpstan/phpdoc-parser/tree/2.3.x
lexer-preg-pattern-orderhttps://github.com/phpstan/phpdoc-parser/tree/lexer-preg-pattern-order
https://github.com/JanTvrdik
JanTvrdikhttps://github.com/JanTvrdik
Aug 31, 2026https://github.com/phpstan/phpdoc-parser/pull/313#issue-5301432277
Please reload this pagehttps://github.com/phpstan/phpdoc-parser/pull/313
JanTvrdikhttps://github.com/JanTvrdik
August 31, 2026 16:36https://github.com/phpstan/phpdoc-parser/pull/313#commits-pushed-8fdbe8d
https://github.com/JanTvrdik
Lexer: make the numeric-separator groups non-capturinghttps://github.com/phpstan/phpdoc-parser/pull/313/commits/8fdbe8d1c278fe561129ba5c170657df16c19519
8fdbe8dhttps://github.com/phpstan/phpdoc-parser/pull/313/commits/8fdbe8d1c278fe561129ba5c170657df16c19519
https://github.com/JanTvrdik
Lexer: extract the matches with PREG_PATTERN_ORDERhttps://github.com/phpstan/phpdoc-parser/pull/313/commits/735aee44cd17e0a13efdb271850abce679cc1d8d
735aee4https://github.com/phpstan/phpdoc-parser/pull/313/commits/735aee44cd17e0a13efdb271850abce679cc1d8d
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
August 31, 2026 14:39https://github.com/phpstan/phpdoc-parser/pull/313#event-30285666504
started reviewinghttps://github.com/phpstan/phpdoc-parser/sessions/14ef04c9-7b85-4f27-b491-e3c00441a5c7
JanTvrdikhttps://github.com/JanTvrdik
August 31, 2026 14:40https://github.com/phpstan/phpdoc-parser/pull/313#event-30285698870
View session https://github.com/phpstan/phpdoc-parser/sessions/14ef04c9-7b85-4f27-b491-e3c00441a5c7
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Aug 31, 2026 https://github.com/phpstan/phpdoc-parser/pull/313#pullrequestreview-5067785574
View reviewed changes https://github.com/phpstan/phpdoc-parser/pull/313/files/735aee44cd17e0a13efdb271850abce679cc1d8d
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/phpstan/phpdoc-parser/pull/313#pullrequestreview-5067785574
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add a code-review agent skillhttps://github.com/phpstan/phpdoc-parser/new/2.3.x?filename=.github/skills/code-review/SKILL.md
Learn more in the docs.https://docs.github.com/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=webui#mcp-servers-and-agent-skills
Please reload this pagehttps://github.com/phpstan/phpdoc-parser/pull/313
Add large payload bench #311 https://github.com/phpstan/phpdoc-parser/pull/311
Lexer: return a struct-of-arrays TokenList (BC break, ~26% faster lexing) #314 https://github.com/phpstan/phpdoc-parser/pull/314
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Aug 31, 2026https://github.com/phpstan/phpdoc-parser/pull/313#issuecomment-5481005569
Please reload this pagehttps://github.com/phpstan/phpdoc-parser/pull/313
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
148ceffhttps://github.com/phpstan/phpdoc-parser/commit/148cefffaf0233e4c08cc13db8a195a56dd6dfe9
Aug 31, 2026https://github.com/phpstan/phpdoc-parser/pull/313#event-30290522452
Please reload this pagehttps://github.com/phpstan/phpdoc-parser/pull/313
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Aug 31, 2026https://github.com/phpstan/phpdoc-parser/pull/313#issuecomment-5481014667
Please reload this pagehttps://github.com/phpstan/phpdoc-parser/pull/313
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
August 31, 2026 16:05https://github.com/phpstan/phpdoc-parser/pull/313#event-30290525735
https://github.com/SerafimArts
SerafimArtshttps://github.com/SerafimArts
Aug 31, 2026https://github.com/phpstan/phpdoc-parser/pull/313#issuecomment-5481863638
https://github.com/phplrt/phplrt/blob/4.x/libs/components/lexer/src/Internal/Tokenizer.php#L160-L172https://github.com/phplrt/phplrt/blob/4.x/libs/components/lexer/src/Internal/Tokenizer.php#L160-L172
Please reload this pagehttps://github.com/phpstan/phpdoc-parser/pull/313
https://github.co/hiddenchars
https://github.com/phpstan/phpdoc-parser/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%2Fphpstan%2Fphpdoc-parser%2Fpull%2F313
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/phpstan/phpdoc-parser/pull/313/files/735aee44cd17e0a13efdb271850abce679cc1d8d
Please reload this pagehttps://github.com/phpstan/phpdoc-parser/pull/313
Please reload this pagehttps://github.com/phpstan/phpdoc-parser/pull/313
https://github.com/JanTvrdik
https://github.com/ondrejmirtes
https://github.com/SerafimArts
https://github.com/apps/copilot-pull-request-reviewer
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.