[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reduction funs optimizations + min/max question
From: |
Søren Hauberg |
Subject: |
Re: reduction funs optimizations + min/max question |
Date: |
Mon, 16 Feb 2009 20:10:43 +0100 |
man, 16 02 2009 kl. 09:23 +0100, skrev Jaroslav Hajek:
> On Fri, Feb 13, 2009 at 9:22 PM, Jaroslav Hajek <address@hidden> wrote:
> > hi,
> >
> > this changeset: http://hg.savannah.gnu.org/hgweb/octave/rev/53b4fdeacc2e
> > reimplements the reduction and cumulative reduction "cores" sum, prod,
> > sumsq, cumsum and cumprod
> > for better performance.
> >
>
>
> Following similar ideas, I optimized also min/max reductions and
> any/all.
Some time back there was a request for 'cummin' and 'cummax' (cumulative
min and max), but it wasn't trivial to implement. Is it easier to
implement such functions with your recent changes?
Soren