Hacker News new | ask | show | jobs
by Measter 399 days ago
What you're calling "tree shaking" is more commonly called "dead code elimination" in compilers, and is one of the basic optimisations that any production compiler would implement.