ExpressionTypeHolder: re-use objects more often by staabm · Pull Request #4801 · phpstan/phpstan-src
Navigation Menu
{{ message }}
phpstan / phpstan-src Public
- Notifications You must be signed in to change notification settings
- Fork 555
Merged
ExpressionTypeHolder: re-use objects more often#4801
ondrejmirtes merged 2 commits intophpstan:2.1.xfrom
ExpressionTypeHolder: re-use objects more often#4801
ondrejmirtes merged 2 commits intophpstan:2.1.xfrom
Conversation
Copy link
Contributor
staabm
commented
Jan 22, 2026
staabm
commented
php bin/phpstan analyse src/Analyser/ src/Rules/ -v --debug
before this PR:
Elapsed time: 28.18 seconds
Used memory: 443.66 MB
after this PR:
Elapsed time: 28.09 seconds
Used memory: 434.81 MB
=> saves 9 MB memory
staabm and others added 2 commits
January 22, 2026 11:13Copy link
Member
ondrejmirtes
commented
Jan 22, 2026
ondrejmirtes commented
Jan 22, 2026Thank you!
staabm
deleted the
fast-expt
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment