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: Add memoization to findGlobal() #26

Open
HenrikBengtsson opened this issue May 6, 2017 · 0 comments
Open

PERFORMANCE: Add memoization to findGlobal() #26

HenrikBengtsson opened this issue May 6, 2017 · 0 comments

Comments

@HenrikBengtsson
Copy link
Collaborator

By adding support for memoization to lookup of global of functions / closures, we should be able to avoid replicated searches of the same code base.

The tricky part is whether this can be done with a 100% accuracy, e.g. can the set of globals (the names not the values) ever change for a given function (as long as the function itself does not change)? Changes in dependencies, options, par's, expressions, globals of globals, ...

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

No branches or pull requests

1 participant