Re: optimising "change CWD" algorithm in subshell mode



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.


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