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

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

[Octave-bug-tracker] [bug #43327] dir function is too slow


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #43327] dir function is too slow
Date: Thu, 02 Oct 2014 21:05:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.0

Follow-up Comment #6, bug #43327 (project octave):

I suspect that the loop and all the "scalar" functions are the problem.  Sorry
for oversimplifying the problem by only mentioning the call to stat in my
earlier comment.

Instead of just stat, we'd need to be able to vectorize all the operations
that appear in the loop so that we can eliminate the interpreted loop and the
N calls to functions that perform operations on single values.  Then we'd have
a series of calls to vectorized functions.  It would probably still not speed
things up as much as simply providing a built-in version of dir, but it might
come reasonably close.  Plus it might be useful for those other functions to
operate on arrays anyway.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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