News for hackers. Stuff that matters.
Re:Lodash's Chain vs. Native Methods by dsego on Friday August 27, 2021 @06:17PM (#28333556)
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.
Re:Lodash's Chain vs. Native Methods by darepublic on Saturday August 28, 2021 @10:56AM (#28338556)
ah, yeah you are right.