Skip to content

MutatingScope: Faster createConditionalExpressions#4831

Merged
ondrejmirtes merged 2 commits intophpstan:2.1.xfrom
staabm:equal-types
Jan 29, 2026
Merged

MutatingScope: Faster createConditionalExpressions#4831
ondrejmirtes merged 2 commits intophpstan:2.1.xfrom
staabm:equal-types

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Jan 29, 2026

this PR optimizes one of the top 3 methods regarding cost:

grafik

blackfire diff of php bin/phpstan analyze src/Rules src/Analyser --debug -v

grafik

@ondrejmirtes ondrejmirtes merged commit 9b23185 into phpstan:2.1.x Jan 29, 2026
619 of 639 checks passed
@ondrejmirtes
Copy link
Member

Nice, thank you!

@staabm staabm deleted the equal-types branch January 29, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants