Skip to content

MutatingScope: prevent unnecessary scope re-creation after openssl* calls#4854

Open
staabm wants to merge 2 commits intophpstan:2.1.xfrom
staabm:unn
Open

MutatingScope: prevent unnecessary scope re-creation after openssl* calls#4854
staabm wants to merge 2 commits intophpstan:2.1.xfrom
staabm:unn

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Feb 3, 2026

minimize scope re-creating to maximize re-use of resolved expressions (so prevent repetative resolving of the same expressions).

scope re-creation is one of the top 5 calls as is type resolving.

grafik

@staabm staabm marked this pull request as ready for review February 3, 2026 07:39
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

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