help-octave
[Top][All Lists]
Advanced

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

Re: Help-octave Digest, Vol 19, Issue 44


From: Manuel Mendez
Subject: Re: Help-octave Digest, Vol 19, Issue 44
Date: Thu, 18 Oct 2007 23:36:20 -0400


What would this entail and what kind of knowledge level would be required?

Manny

>I should point out that your test is much too small to get an accurate
>characterization. The tic and toc functions are m files in octave and
>builtin functions in matlab (BTW, I think this might be a worthwhile
>enhancement for anyone who wants a small project). Running nothing more
>than tic; toc takes 0.02 sec in octave and 0.000011 sec in matlab on my
>computer. So, If I make your test large enough to make that difference
>negligible:
>tic; test = 1:1e7; nc = cumsum(test); toc
>I get 0.73 seconds in octave and 0.51 seconds in matlab. For any heavily
>vectorized operation like this, the times should be not too different.
>Matlab will be considerably faster on code that is not heavily
>vectorized because its interpreter is faster. Any contributions to the
>project to make octave's interpreter faster are welcomed.
>
>Quentin
reply via email to

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