help-octave
[Top][All Lists]
Advanced

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

Re: octave much slower than matlab, debugging subfunctions


From: Jordi Gutiérrez Hermoso
Subject: Re: octave much slower than matlab, debugging subfunctions
Date: Tue, 11 Dec 2007 21:16:45 -0600

On 11/12/2007, John Jones <address@hidden> wrote:
> Multiple while loops can take up to 3 x longer in Octave than in Matlab.

This mus be the biggest performance hit that Octave newbies run into
when coming from the competition, which used to have the same problems
until they implemented  JIT compiling. The only solution so far, since
everyone seems to think that implementing JIT for Octave is ultimately
not worth the giant effort, is to write smarter code without loops
which you should be doing for Matlab anyways. If you have specific
examples on how to avoid loops, we can offer help.

Or if you have interest in implementing JIT compilation for Octave or
know someone who does, do let us know.

- Jordi G. H.


reply via email to

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