Nicholas Porter
1 min readDec 13, 2019

--

I can attest that map is less performant in terms of speed. Especially for large datasets.

Tested 559,937,569 iterations in our system (included some other logic as well).

Map: 13.6 seconds.
For Of: 11.7 seconds

--

--

Nicholas Porter
Nicholas Porter

Responses (1)