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

Did you try optimize sources by Prepack? #269

Closed
MaxGraey opened this issue Jun 21, 2018 · 2 comments
Closed

Did you try optimize sources by Prepack? #269

MaxGraey opened this issue Jun 21, 2018 · 2 comments

Comments

@MaxGraey
Copy link

MaxGraey commented Jun 21, 2018

https://github.com/facebook/prepack

@alangpierce
Copy link
Owner

I haven't tried it out, but I'll take a look when I get a chance. It looks to me like Prepack is most useful for packages with an expensive up-front initialization cost, and Sucrase is a relatively small project (meaning relatively little module init work) and I don't think it precomputes anything at init time, so I suspect that Prepack won't actually be benificial here. But it certainly seems worth trying.

@MaxGraey
Copy link
Author

MaxGraey commented Jul 5, 2018

Hmm, may be this not good idea for library. Ok, I'll close this

@MaxGraey MaxGraey closed this as completed Jul 5, 2018
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

2 participants