Skip to content

faster TypeCombinator::compareTypesInUnion()#742

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
voku:performance_fix_integer_range
Oct 26, 2021
Merged

faster TypeCombinator::compareTypesInUnion()#742
ondrejmirtes merged 1 commit intophpstan:masterfrom
voku:performance_fix_integer_range

Conversation

@voku
Copy link
Copy Markdown
Contributor

@voku voku commented Oct 26, 2021

I only played a little with the code, and compared the results via blackfire. Maybe I missed something here, and we can't return null directly?

https://blackfire.io/profiles/compare/e4356233-ed30-49c5-8e01-2d7c163a3ef4/graph

Bildschirmfoto von 2021-10-26 21-13-17

@ondrejmirtes ondrejmirtes merged commit af02bd8 into phpstan:master Oct 26, 2021
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

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