help-octave
[Top][All Lists]
Advanced

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

Re: speed of octave


From: John W. Eaton
Subject: Re: speed of octave
Date: Fri, 07 Sep 2007 14:20:56 -0400

On  7-Sep-2007, Don Roberts wrote:

| I also ran into an order of magnitude speed difference between
| Matlab and Octave on a section of >vectorized< (Matlab-style rather
| than for-loop style code), but don't think it speaks badly of
| Octave.  The issue does appear to be Matlab's just-in-time
| >compiler<.  It's been several months and I don't have the exact
| code handy, but it was an element-wise comparison of two vectors
| followed by a reduction.  Unfortunately, it's not an
| apples-to-apples comparison.  Matlab (7.04) was running under XP on
| a 2.x GHz Pentium and Octave (2.1.73) under Linux under a 2.4 GHz
| PowerPC.  Re-writing the function as linked-in C gave negligible
| speed-up for Matlab, but the expected 10X speed-up for Octave.

If you were able to do this, then how about contributing the code so
everyone can benefit from the improvement?

jwe


reply via email to

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