futureverse / futureverse/globals

PERFORMANCE: Add memoization to findGlobal()

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
29
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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, ...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.