incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronen Narkis <nark...@gmail.com>
Subject Re: view generation speed
Date Tue, 11 May 2010 09:37:29 GMT
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 <manokaran@gmail.com> wrote:

> On Tue, May 11, 2010 at 1:40 PM, Sebastian Cohnen <
> sebastiancohnen@googlemail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message