DEV Community

loading...

Discussion on: Don’t pay the for-loop tax

Collapse
forsakenharmony profile image
Leah

The funny thing is, writing your own map function with a for loop is faster than the native one (a plain for loop is still faster because it doesn't have to deal with the function invokations)