Comment on Lodash's Chain vs. Native MethodsparentComments−dsego5yIt doesn't have to visit all 30 items, just enough items to take 5 from, could be 8, could be 10 etc. The lazy approach _is_ to collect all transformations and apply them in the end.−darepublic5yah, yeah you are right.
Comments
It doesn't have to visit all 30 items, just enough items to take 5 from, could be 8, could be 10 etc. The lazy approach _is_ to collect all transformations and apply them in the end.
ah, yeah you are right.