Re: Handle graphics plotting functions

Daniel J Sebald <[email protected]> Tue, 14 Feb 2006 13:14:06 -0600
Newsgroups gmane.comp.gnu.octave.graphics
Message-ID <[email protected]>
David Bateman wrote:

> Writing octave core functions in C++ must be highly justified, and speed 
> is not the only criteria, I myself have had an improved triu/tril 
> function in C++ knocked back. Concretely the above thread showed upto 50 
> times speed improvement. But the current m-file on a test image took 
> only 1 second. So does even a 50 times speed improvement justify the 
> issue of making code maintaince much harder with the addition of C++ code..

In my opinion, that kind of speed up could be justified.  I often process a lot of long data files where small time intervals add up to a lot time when.  (That's why I inquired the other day about slightly changing the behavior of fwrite() to put zeros in a file so that data doesn't have to be written twice using the "skip" command.)

Dan