News for hackers. Stuff that matters.
Re:Simple apply/filter/reduce package in Go by adrusi on Friday April 03, 2015 @02:13PM (#9317436)
Bad example, but my point holds.

Transducers aren't performance improvers, they're an abstraction over the process of iteration. They actually degrade performance in the absence of a particularly smart inlining compiler.

Re:Simple apply/filter/reduce package in Go by drcode on Friday April 03, 2015 @02:34PM (#9317548)
> They actually degrade performance in the absence of a particularly smart inlining compiler.

So it sounds like you're saying that iterators in Rust are faster than transducer-based filter/reduce.

I think it's clear that my original point was that transducer-based filter/reduce is faster than lazy-list based filter/reduce, and comparable in performance to a for loop. (in that lazy-list operations are MUCH MUCH slower in most cases for filter reduce operations than the latter two approaches)