Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance: reduce parent attribute usage on BetterNodeFinder #3504

Merged
merged 2 commits into from Mar 22, 2023

Conversation

samsonasik
Copy link
Member

Replace parent verify usage on BetterNodeFinder::findClassMethodAssignsToLocalProperty() with SimpleCallableNodeTraverser to allow to not traverse on anonymous classes and inner function

@samsonasik samsonasik changed the title Performance: reduce parent type call usage on BetterNodeFinder Performance: reduce parent attribute usage on BetterNodeFinder Mar 22, 2023
@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I think it is ready.

@samsonasik
Copy link
Member Author

@TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 5c985c8 into main Mar 22, 2023
38 checks passed
@samsonasik samsonasik deleted the reduce-parent-type-call-bnf branch March 22, 2023 18:05
@TomasVotruba
Copy link
Member

This is very nice Abdul 👏 😄

samsonasik added a commit that referenced this pull request May 8, 2023
* Performance: reduce parent type call usage on BetterNodeFinder

* [ci-review] Rector Rectify

---------

Co-authored-by: GitHub Action <actions@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants