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

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

[Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow


From: Rik
Subject: [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow
Date: Tue, 13 Apr 2021 12:54:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

Follow-up Comment #4, bug #60387 (project octave):

I shortened the code to not return a structure, just print the data to
screen.


tic;
dir (obj);
toc


The result is 0.7 seconds.  So this is only an issue when trying to return a
struct.  It might be better to get the text data and then parse it with
regexp() and fill the return struct.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60387>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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