I have a project where I'm using _.map
everywhere. Now I have the need to improve it's performance and was wondering if is there any time-performance benefit for using _.map
instead of [...].map
.
Here are a comparation of the native map against the lodash map
Aparently lodash is faster
https://jsperf.com/native-map-vs-lodash-map
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With