optimising "change CWD" algorithm in subshell mode
Dmitry Smirnov
onlyjob at member.fsf.org
Mon Nov 5 20:44:13 UTC 2012
On Tue, 6 Nov 2012 04:09:45 Oswald Buddenhagen wrote:
> On Sun, Nov 04, 2012 at 11:43:35PM +1100, Dmitry Smirnov wrote:
> > What do you think would be the best to do about it?
>
> find out where the slowness *actually* comes from. oprofile, or maybe
> callgrind (once you isolated the process).
I don't know where slowness comes from (self-evidently it becomes slower with
the growing length of full path) but *crash* comes from long string (>1024
characters) passed to bash hence it make sense to limit that if possible.
More information about the mc-devel
mailing list