4 ms·
You have the wrong end of the stick. The author means that he's ported it to achieve better performance than using Javascript's built-in map/filter./etc. operat
by HereBeBeasties 7y ago
You have the wrong end of the stick. The author means that he's ported it to achieve better performance than using Javascript's built-in map/filter./etc. operators because those do not lazy-evaluate and do not chain together efficiently, creating an array at each invocation.