Closed anthony-redFox closed 6 years ago
map function calculate a length of Array on start of clone and doesn't change later
Chrome 63 beta
IE11
From https://jsperf.com/map-vs-for-loop-performance/6
Thanks @anthony-redFox. Let me just point out something in the review to check.
You'll probably need to change your commit's description :)
@Yomguithereal done
Thanks @anthony-redFox. Will merge now.
map function calculate a length of Array on start of clone and doesn't change later
Chrome 63 beta![image](https://user-images.githubusercontent.com/4757846/32592634-bd397fd2-c535-11e7-884c-52fc0153562e.png)
IE11![image](https://user-images.githubusercontent.com/4757846/32592657-d33259f8-c535-11e7-9961-39d0ffb2424c.png)
From https://jsperf.com/map-vs-for-loop-performance/6