crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Friedrich <m...@mafr.de>
Subject Aggregator properties
Date Mon, 12 Nov 2012 18:12:34 GMT
Hi,

I would guess that Aggregator implementations have to be associative
and commutative. Otherwise they can't be used in Combiners in a
deterministic way. Am I right?

If this is the case I'd suggest we add a big fat warning to our
StringConcatAggregator, because string concatenation isn't
commutative. Or maybe even remove it from our core API because it's a
bad role model?

Thanks,
  Matthias

Mime
View raw message