-
-
Notifications
You must be signed in to change notification settings - Fork 54
Tweak size #63
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
Tweak size #63
Conversation
why? does sideEffects: false in package.json help us in any way? i've thought only PURE annotations do. |
made a little demo with stackblitz to test that behavior |
@paulmillr Hello, |
@jeetiss thanks for the pull request. It's good. Yes, I am interested. I am concerned with moving-out It's always used. Can't we just keep it in utils? I assume sideEffects: false remove it, but what else do they remove? |
Please don't make curves PR until we merge the current one, don't want you to do work that won't be merged. |
I think it should be better to split this PR into a couple:
The first two are not so controversial and we can discuss options for |
I applied some optimizations to reduce bundle size:
sideEffects: false
to improve dead code elimination_u64
_assert
and_u64
module to wildcard imports to enable tree-shaking/*#__PURE__*/
annotation to all top-level invocationssizes (with all dependencies, minified and gzipped):
i used #62 to test changes