On Fri, Aug 28, 2009 at 8:41 AM, Fabio Forno<[email protected]> wrote: > On Fri, Aug 28, 2009 at 4:45 PM, Paul Davis<[email protected]> > wrote: >> By default, reduce output must be less than half the size of it's >> input when. Input and output data sizes are measured by the length of >> their serialized JSON representations. This check is only made when >> the length of the serialized output is greater than 200 characters. >> > > Why less then half? Suppose I must merge two docs A,B where I'm > counting the occurrences of a set of items ans size(A) >> size(B), > size(out) would be less than size(input), but more than half of it >
Really the requirement should be less than 1/10th or so (decrease at roughly log(N) rate) but I put in 1/2 because it's just a rough rubric to catch the worst offenders. > -- > Fabio Forno, Ph.D. > Bluendo srl http://www.bluendo.com > jabber id: [email protected] > -- Chris Anderson http://jchrisa.net http://couch.io
