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

nested refactor calls #3

Open
moodymudskipper opened this issue Sep 29, 2021 · 0 comments
Open

nested refactor calls #3

moodymudskipper opened this issue Sep 29, 2021 · 0 comments

Comments

@moodymudskipper
Copy link
Owner

moodymudskipper commented Sep 29, 2021

If we call refactor on code that calls refactored code, we multiply the executions (2^n).
We should only compute the refactored code if we're nested through a lhs call.
I think wen can do this either :

  • inspecting the call stack for the last call
  • using global variables that are updated when entering a new call
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