News for hackers. Stuff that matters.
Re:Magical, Mystical JavaScript Transducers by sli on Monday July 01, 2019 @03:09PM (#20328685)
You could (usually, but not always) compose the functions you're passing into filter and map and use reduce instead to do both operations in a single pass.

(Edit: This is a big point in the article -- apologies, I hadn't finished reading it yet.)

There are no comments on this comment yet.