-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
perf(es/minifier): Add cache for collect_infects_from
#9924
base: main
Are you sure you want to change the base?
Conversation
|
cc @CPunisher Do you have an idea for better caching? |
The point is to determine an unique id for a function node. Maybe BTW does it handle a node many times? |
@CPunisher Yeap. I wrote about them in #9927. While visiting nodes for usage analysis, it calls |
I see. If it is hard to cache the result, can we avoid repeated analysis? That means we can stop collect_infects_from going deeper since we know we will handle inner nodes later. |
Description:
Note: This is conceptually correct, but currently it degrades the performance.