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

Do a better job of pruning dead code #8

Closed
benjamn opened this issue Oct 5, 2013 · 1 comment
Closed

Do a better job of pruning dead code #8

benjamn opened this issue Oct 5, 2013 · 1 comment

Comments

@benjamn
Copy link
Collaborator

benjamn commented Oct 5, 2013

Tools like UglifyJS can do a lot of this, but we should try harder upstream, too.

We already attempt to prune obviously unreachable code in Emitter.prototype.getDispatchLoop (see isSwitchCaseEnder and alreadyEnded), but I disabled that temporarily because that extra cleverness made it harder to verify the generated code.

@facebook-github-bot
Copy link

Thank you for reaching out to us and we'd like to first apoligize for not getting back to you sooner. We're closing out older issues since updates to the project may address the issue you opened or they may no longer be relevant. If you're still experiencing the problem, please reopen the issue - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants