Skip to content

Introduce memoizing reflectors#75

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
lookyman:optimizing-static-reflection
Jan 2, 2020
Merged

Introduce memoizing reflectors#75
ondrejmirtes merged 1 commit intophpstan:masterfrom
lookyman:optimizing-static-reflection

Conversation

@lookyman
Copy link
Copy Markdown
Contributor

@lookyman lookyman commented Jan 2, 2020

In my testing this improves time spent analysing PHPStan's own source code by about 45%.

@ondrejmirtes ondrejmirtes merged commit ac8f600 into phpstan:master Jan 2, 2020
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

@matks
Copy link
Copy Markdown

matks commented Dec 21, 2020

Hi, I'm looking at this code. When I read this I think it should be typed Memorizing instead of Memoizing . Am I right (then I can submit a PR) or did I miss something?

@ondrejmirtes
Copy link
Copy Markdown
Member

@matks
Copy link
Copy Markdown

matks commented Dec 21, 2020

Aaaah 😄 I knew it was not that simple. Thanks !

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