octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65245] movfun/movmean: scope for speed up wit


From: Rik
Subject: [Octave-bug-tracker] [bug #65245] movfun/movmean: scope for speed up with conv
Date: Sat, 3 Feb 2024 13:31:33 -0500 (EST)

Update of bug#65245 (group octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

Yes, this is true.  It might be a good addition, but there is also a bigger
strategic issue that is worth thinking about.  The current architecture is
that the movXXX functions are simple in that they do just a little bit of
input validation and then pass on the function to movfun().  This structure
makes maintenance easy and any improvements to movfun() are automatically
reflected in the derivative movXXX functions.  movmean() is a special case in
that there is a convenient kernel that can be used with conv() (which is
written in C++) to accelerate that function.  But other functions, such as
movmad(), do not seem to have any easy mapping on to conv().  Perhaps it would
be better to re-write movfun() in C++ where loops would not be a problem.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65245>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]