Replies: 1 comment 3 replies
-
What do you mean by "tree shaking"? Ok, Google suggests terminology from JavaScript world for removing unreachable / dead code. I believe some of this is already done by the mpy compiler when it's guaranteed unreachable, eg if there's a
I'm pretty sure that if branch is pruned. I'd say this is only done for really certain stuff like const, anything else that's runtime changeable wouldn't be removed. With libraries etc I don't think functions or anything are removed because the user might want to run them from repl / exec etc. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If not now, will it be considered for support in the future?
Beta Was this translation helpful? Give feedback.
All reactions