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

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

[Octave-bug-tracker] [bug #50416] dir command is very slow with large di


From: Rik
Subject: [Octave-bug-tracker] [bug #50416] dir command is very slow with large directories
Date: Tue, 28 Feb 2017 18:50:49 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #3, bug #50416 (project octave):

Unfortunately, fullfile is 10X slower than strcat.


y = repmat ({"Hello World"}, 200, 1);
tic; x = fullfile ("/usr/bin", y); toc
Elapsed time is 0.0909159 seconds.
tic; z = strcat (["/usr/bin" filesep], y); toc
Elapsed time is 0.00851393 seconds.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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