[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is diffe
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now |
Date: |
Wed, 8 Mar 2017 21:25:22 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Follow-up Comment #3, bug #50500 (project octave):
Yes, the dir speed-increase. Probably this changeset:
http://hg.savannah.gnu.org/hgweb/octave/rev/529c6d0c6684
The first code hunk diff looks consistent. The second one looks like it might
not be discarding the leading the path like the original:
endif
- [dummy, fn, ext] = fileparts (fn);
- fn = [fn ext];
+ fn = regexprep (fn, re, '$1');
info(i,1).name = fn;
The regexprep may also need to replace the front portion ('bin/') with empty
string ''.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50500>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now, Lars Kindermann, 2017/03/08
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now, Rik, 2017/03/08
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now, Lars Kindermann, 2017/03/08
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now,
Dan Sebald <=
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now, Dan Sebald, 2017/03/08
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now, Dan Sebald, 2017/03/08
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now, Rik, 2017/03/09
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now, Dan Sebald, 2017/03/09
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now, Lars Kindermann, 2017/03/09
- [Octave-bug-tracker] [bug #50500] Behavior of dir() changed and is different from Matlab now, Rik, 2017/03/09