-
Notifications
You must be signed in to change notification settings - Fork 298
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
Require just used functions & use natives #54
Conversation
Thanks @luanmuniz ! That is an important finding I would like to understand better so that future versions don't reintroduce this issue. Can you say something about the following questions?
|
Do you want me to update the PR in any way? |
Thanks for the info @luanmuniz ! I can take it from here. You don't need to update the PR. |
Require just used functions & use natives
I just published version 0.4.3 on NPM which contains your changes. Thanks for your contribution! |
Thank you very much! :D |
Just by curiosity, is there a reason not to use the native |
I don't know. I leave the expertise on subtle differences between platforms to lodash. ;) |
Hi,
I made this because after a few requests using this module, lodash was causing some memory allocation problems, the full file is very big and it was causing me problems.
I don't quite understand why, but make just these changes, requiring just the used functions and using a few native functions, my application decrease the memory allocation from 500mb to 220mb.