octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #31709] simple routine which runs 20 times slo


From: kody law
Subject: [Octave-bug-tracker] [bug #31709] simple routine which runs 20 times slower on octave vs. matlab!
Date: Sat, 20 Nov 2010 18:33:07 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12

Follow-up Comment #2, bug #31709 (project octave):

Many thanks for your prompt response and cursory glance, Rik!

I appreciate the suggestions and pointer to matlab's page.  I know about the
loop deficiency with both matlab and octave, and this might be the thing that
drives me to a lower level language.
Sometimes loops are absolutely necessary.

I am afraid you did not read my submission, so let me try to clarify a few
points.

i) this routine cannot be vectorized, to my knowledge (and I am something of
an expert at optimizing and vectorizing code and using matlab as well).

ii) I am talking about an ORDER OF MAGNITUDE difference BETWEEN MATLAB AND
OCTAVE!

iii) pre-allocation will not help here either.

iv) there are no optimized library functions I know of to replace anything
here. 

It is necessary to follow the path of each site through its cycle of
permutations.  There is no other way.  There IS a MAJOR problem with octave
hidden here.

This submission should NOT be closed.

Thanks


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31709>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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