groupBy / reduceBy
Remi Forax
forax at univ-mlv.fr
Sun Dec 9 09:29:11 PST 2012
On 12/09/2012 04:55 PM, Brian Goetz wrote:
>> the other problem with reduceBy is that the combiner is only needed for
>> the parallel case but not for the serial one.
>
> Which is true for other nonhomogeneous reducer forms as well.
Yes, these reducers are ugly too :)
I think it's better to specify a mapping function (T -> U) and a
combiner (U, U -> U).
cheers,
Rémi
More information about the lambda-libs-spec-observers
mailing list