Why aren't the faster function are always used? is there a reason to prefer the sum over _sum?
Ronen On Tue, May 11, 2010 at 12:16 PM, Manokaran K <[email protected]> wrote: > On Tue, May 11, 2010 at 1:40 PM, Sebastian Cohnen < > [email protected]> wrote: > > > _sum > > > > instead of > > > > > function(keys, values, rereduce){ > > > return sum(values); > > > } > > > > I think the wiki is missing some information on build-in reduce > functions. > > I'll add this today. > > > > > Thanks a ton :-) > > The improvement was dramatic. What took close to 3 hours took just 20 mins > using _sum!! > > Waiting to see what other tricks are available. > > regds > mano >
