-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Investigate size increase #40
Comments
Yeah this is because multibyte Charakters are pre calculated. I made a memory speed trade off. We could calculate at startup. This could slow down the startup time. I could provide a PR if you like. |
I think we should do a comparison in performance once again. |
Would it be possible for the user to be given the option to opt out on some optimizations? So user can perhaps decide for themselves on whether 15% faster on some ops is a worthy tradeoff with extra 700k on the app? That way user who wants to enjoy other features in newer version can do so, without having to pay the 700k toll. Now my team decided to use the v1.0.0 instead to workaround this problem. |
I have somewhere on disk the function with which i generated the array in first place. |
I think we should revert that change. 700KB is hardly worth the improvement :(. Happy to also switch Fastify back to node:query-string. |
@Uzlopak Can you revert the changes? |
I thought disk space usage wasn't a concern for Fastify? |
We should investigate if the size increase is worth the performance gain, that is included in the latest release.
Received a feedback on Twitter
According to Bundlephobia
The text was updated successfully, but these errors were encountered: