René's URL Explorer Experiment


Title: speed up TrinaryLogic by kaja47 · Pull Request #4833 · phpstan/phpstan-src · GitHub

Open Graph Title: speed up TrinaryLogic by kaja47 · Pull Request #4833 · phpstan/phpstan-src

X Title: speed up TrinaryLogic by kaja47 · Pull Request #4833 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - speed up TrinaryLogic by kaja47 · Pull Request #4833 · phpstan/phpstan-src

Open Graph Description: Split variadic arguments for and() and or(). Common case of single argument doesn't allocate an array. Add static fields mirroring $registry to skip one level of indirection. Numeric values cho...

X Description: Split variadic arguments for and() and or(). Common case of single argument doesn't allocate an array. Add static fields mirroring $registry to skip one level of indirection. Numeric values...

Opengraph URL: https://github.com/phpstan/phpstan-src/pull/4833

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:dcf4e31a-1a1f-4041-5208-9c154c93a6c9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB6AA:1D8AA1:1C37034:250C4EB:6B014AB0
html-safe-nonce153174d00386ba4cfaebda0d668ad8001873bf68a5b2fea950c36940af89417d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkFBOjFEOEFBMToxQzM3MDM0OjI1MEM0RUI6NkIwMTRBQjAiLCJ2aXNpdG9yX2lkIjoiNTIxOTQwMjY0MTEwODQ1NDA2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdef1b07c61510b0412c50d9d92b533caf9c12baaec5080ca5523d94b4cac8f8d
hovercard-subject-tagpull_request:3223103325
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/phpstan-src/4833/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/14da9da14154ad0383ac39a6ef48bd867a7dd1ba83f782936fb434c8073f15f3/phpstan/phpstan-src/pull/4833
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/14da9da14154ad0383ac39a6ef48bd867a7dd1ba83f782936fb434c8073f15f3/phpstan/phpstan-src/pull/4833
og:image:altSplit variadic arguments for and() and or(). Common case of single argument doesn't allocate an array. Add static fields mirroring $registry to skip one level of indirection. Numeric values cho...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekaja47
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id219334214
octolytics-dimension-repository_nwophpstan/phpstan-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id219334214
octolytics-dimension-repository_network_root_nwophpstan/phpstan-src
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/4833#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4833
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%2Fphpstan-src%2Fpull%2F4833
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%2Fphpstan-src
Reloadhttps://github.com/phpstan/phpstan-src/pull/4833
Reloadhttps://github.com/phpstan/phpstan-src/pull/4833
Reloadhttps://github.com/phpstan/phpstan-src/pull/4833
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests175 (175)https://github.com/phpstan/phpstan-src/pulls
Actionshttps://github.com/phpstan/phpstan-src/actions
Security and qualityhttps://github.com/phpstan/phpstan-src/security
Insightshttps://github.com/phpstan/phpstan-src/insights
https://github.com/phpstan/phpstan-src
ondrejmirteshttps://github.com/ondrejmirtes
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
kaja47:fast-trinshttps://github.com/kaja47/phpstan-src/tree/fast-trins
Conversationhttps://github.com/phpstan/phpstan-src/pull/4833
Commits2 (2)https://github.com/phpstan/phpstan-src/pull/4833/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/4833/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/4833/files
speed up TrinaryLogichttps://github.com/phpstan/phpstan-src/pull/4833#top
ondrejmirteshttps://github.com/ondrejmirtes
phpstan:2.1.xhttps://github.com/phpstan/phpstan-src/tree/2.1.x
kaja47:fast-trinshttps://github.com/kaja47/phpstan-src/tree/fast-trins
https://github.com/kaja47
kaja47https://github.com/kaja47
Jan 29, 2026https://github.com/phpstan/phpstan-src/pull/4833#issue-3870308437
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/kaja47
kaja47https://github.com/kaja47
force-pushedhttps://github.com/phpstan/phpstan-src/compare/a29f75d9dde7fd1d71ee67f01fef599ad8f1048c..4345d3ac13b7f6387b811cc2bfaee93056c37f80
a29f75dhttps://github.com/phpstan/phpstan-src/commit/a29f75d9dde7fd1d71ee67f01fef599ad8f1048c
4345d3ahttps://github.com/phpstan/phpstan-src/commit/4345d3ac13b7f6387b811cc2bfaee93056c37f80
Compare https://github.com/phpstan/phpstan-src/compare/a29f75d9dde7fd1d71ee67f01fef599ad8f1048c..4345d3ac13b7f6387b811cc2bfaee93056c37f80
January 29, 2026 12:19https://github.com/phpstan/phpstan-src/pull/4833#event-22374921243
https://github.com/kaja47
kaja47https://github.com/kaja47
January 29, 2026 12:38https://github.com/phpstan/phpstan-src/pull/4833#event-22375390582
https://github.com/staabm
staabmhttps://github.com/staabm
Jan 29, 2026 https://github.com/phpstan/phpstan-src/pull/4833#pullrequestreview-3722583300
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4833/files
src/TrinaryLogic.phphttps://github.com/phpstan/phpstan-src/pull/4833/files#diff-af10189422162ddfd1bd750f59dcfc58d462c2fc9a48dc6666af78788c57dc74
staabmhttps://github.com/staabm
Jan 29, 2026https://github.com/phpstan/phpstan-src/pull/4833#discussion_r2741547883
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/staabm
staabmhttps://github.com/staabm
Jan 29, 2026https://github.com/phpstan/phpstan-src/pull/4833#issuecomment-3817582981
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/kaja47
kaja47https://github.com/kaja47
force-pushedhttps://github.com/phpstan/phpstan-src/compare/4345d3ac13b7f6387b811cc2bfaee93056c37f80..a82003689ff14913b440da238b3de416925e7729
4345d3ahttps://github.com/phpstan/phpstan-src/commit/4345d3ac13b7f6387b811cc2bfaee93056c37f80
a820036https://github.com/phpstan/phpstan-src/commit/a82003689ff14913b440da238b3de416925e7729
Compare https://github.com/phpstan/phpstan-src/compare/4345d3ac13b7f6387b811cc2bfaee93056c37f80..a82003689ff14913b440da238b3de416925e7729
January 29, 2026 13:07https://github.com/phpstan/phpstan-src/pull/4833#event-22376212050
https://github.com/thg2k
thg2khttps://github.com/thg2k
Jan 29, 2026https://github.com/phpstan/phpstan-src/pull/4833#issuecomment-3817655796
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/kaja47
kaja47https://github.com/kaja47
force-pushedhttps://github.com/phpstan/phpstan-src/compare/a82003689ff14913b440da238b3de416925e7729..3c84385175ad4b79e7e350e849e320324e080d33
a820036https://github.com/phpstan/phpstan-src/commit/a82003689ff14913b440da238b3de416925e7729
3c84385https://github.com/phpstan/phpstan-src/commit/3c84385175ad4b79e7e350e849e320324e080d33
Compare https://github.com/phpstan/phpstan-src/compare/a82003689ff14913b440da238b3de416925e7729..3c84385175ad4b79e7e350e849e320324e080d33
January 29, 2026 13:46https://github.com/phpstan/phpstan-src/pull/4833#event-22377296421
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Jan 29, 2026https://github.com/phpstan/phpstan-src/pull/4833#issuecomment-3817856955
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 3, 2026 https://github.com/phpstan/phpstan-src/pull/4833#ref-pullrequest-3886346512
Make ConstantArrayTypeBuilder::ARRAY_COUNT_LIMIT configurable #4850 https://github.com/phpstan/phpstan-src/pull/4850
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 13, 2026https://github.com/phpstan/phpstan-src/pull/4833#issuecomment-3897734583
@kaja47https://github.com/kaja47
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
kaja47https://github.com/kaja47
February 16, 2026 10:20https://github.com/phpstan/phpstan-src/pull/4833#commits-pushed-526e9b2
https://github.com/kaja47
https://github.com/staabm
speed up TrinaryLogichttps://github.com/phpstan/phpstan-src/pull/4833/commits/526e9b2b3ebf825f4c7ef1dfc5930f1848a0d1f0
526e9b2https://github.com/phpstan/phpstan-src/pull/4833/commits/526e9b2b3ebf825f4c7ef1dfc5930f1848a0d1f0
https://github.com/staabm
fix buildhttps://github.com/phpstan/phpstan-src/pull/4833/commits/e2c3fa1172699e8beca2f2309ba69a4d77af86a1
e2c3fa1https://github.com/phpstan/phpstan-src/pull/4833/commits/e2c3fa1172699e8beca2f2309ba69a4d77af86a1
https://github.com/staabm
staabmhttps://github.com/staabm
force-pushedhttps://github.com/phpstan/phpstan-src/compare/3c84385175ad4b79e7e350e849e320324e080d33..e2c3fa1172699e8beca2f2309ba69a4d77af86a1
3c84385https://github.com/phpstan/phpstan-src/commit/3c84385175ad4b79e7e350e849e320324e080d33
e2c3fa1https://github.com/phpstan/phpstan-src/commit/e2c3fa1172699e8beca2f2309ba69a4d77af86a1
Compare https://github.com/phpstan/phpstan-src/compare/3c84385175ad4b79e7e350e849e320324e080d33..e2c3fa1172699e8beca2f2309ba69a4d77af86a1
February 16, 2026 09:27https://github.com/phpstan/phpstan-src/pull/4833#event-22819345980
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 16, 2026https://github.com/phpstan/phpstan-src/pull/4833#issuecomment-3907359324
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/staabm
staabmhttps://github.com/staabm
February 16, 2026 09:28https://github.com/phpstan/phpstan-src/pull/4833#event-22819375002
https://github.com/phpstan-bot
phpstan-bothttps://github.com/phpstan-bot
Feb 16, 2026https://github.com/phpstan/phpstan-src/pull/4833#issuecomment-3907360947
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
0f994d4https://github.com/phpstan/phpstan-src/commit/0f994d4c6d41b489c46c6dc1faf31333744f3ac6
Feb 16, 2026https://github.com/phpstan/phpstan-src/pull/4833#event-22819708287
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Feb 16, 2026https://github.com/phpstan/phpstan-src/pull/4833#issuecomment-3907425110
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 16, 2026https://github.com/phpstan/phpstan-src/pull/4833#issuecomment-3907425246
@kaja47https://github.com/kaja47
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 25, 2026 https://github.com/phpstan/phpstan-src/pull/4833#ref-pullrequest-3989919826
Faster TrinaryLogic::maxMin() #5045 https://github.com/phpstan/phpstan-src/pull/5045
https://github.com/staabm
staabmhttps://github.com/staabm
Jun 25, 2026 https://github.com/phpstan/phpstan-src/pull/4833#ref-pullrequest-4741725439
Faster VerbosityLevel #5932 https://github.com/phpstan/phpstan-src/pull/5932
https://github.co/hiddenchars
https://github.com/phpstan/phpstan-src/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%2Fphpstan-src%2Fpull%2F4833
https://github.com/staabm
staabm https://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/4833/files/4345d3ac13b7f6387b811cc2bfaee93056c37f80
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4833
https://github.com/kaja47
https://github.com/staabm
https://github.com/thg2k
https://github.com/ondrejmirtes
https://github.com/phpstan-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.