[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53251] Very slow execution of linear interpol
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #53251] Very slow execution of linear interpolation |
Date: |
Mon, 5 Mar 2018 12:27:32 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Update of bug #53251 (project octave):
Status: None => Wont Fix
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
I agree with Michael's analysis. Loops in Octave are going to be slow and you
should avoid them at all costs. The typical way to do that is to use
vectorized code. In addition, when you have to make a choice, use a function
that comes standard with Octave (such as interp1) rather than writing your own
code. The code that comes with Octave has usually been optimized as much as
possible even when it must have loops, and it certainly has had more users
testing it so there is a lower probability of bugs in the calculation.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53251>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/