Skip to content

Performance improvements - #1830

Closed
rvanvelzen wants to merge 2 commits into
phpstan:1.9.xfrom
rvanvelzen:performance
Closed

rvanvelzen wants to merge 2 commits into
phpstan:1.9.xfrom
rvanvelzen:performance

Conversation

@rvanvelzen

Copy link
Copy Markdown
Contributor

Some perf improvements (mostly related to constant arrays) implemented while investigating phpstan/phpstan#8146.

@herndlm

herndlm commented Oct 13, 2022

Copy link
Copy Markdown
Contributor

with the many type related cleanups I do on 1.9.x we need to be careful to not cause conflicts if bigger type changes are made on 1.8.x still :)

@rvanvelzen

Copy link
Copy Markdown
Contributor Author

I can just point this at 1.9.x of course, though the merge looked relatively clean locally :)

@ondrejmirtes
ondrejmirtes changed the base branch from 1.8.x to 1.9.x December 10, 2022 22:14
@ondrejmirtes

Copy link
Copy Markdown
Member

I rebased this, but the performance issue in the new test doesn't go away :/

@ondrejmirtes

Copy link
Copy Markdown
Member

This is probably a dead end :) We already optimized 8146, mainly by dumbing down the arrays again, and be a bit more forgiving with oversized arrays in type checking.

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.

3 participants