[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave vs. matlab vectorization
From: |
John W. Eaton |
Subject: |
Re: octave vs. matlab vectorization |
Date: |
Mon, 14 Sep 2009 13:29:52 -0400 |
On 14-Sep-2009, matt wrote:
| ah, no! code 1 was *faster* under matlab! the ratio is 0.19:1
|
| i find this result quite staggering.
Why? As someone else already explained, Matlab has a JIT compiler
that can, in some cases at least, compile loops into native code so
that it runs faster and Octave does not have a JIT compiler.
jwe
Re: octave vs. matlab vectorization, Jaroslav Hajek, 2009/09/14