Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: replacement slowdown
- X-seq: zsh-workers 21160
- From: Clint Adams <clint@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: replacement slowdown
- Date: Fri, 22 Apr 2005 23:19:07 -0400
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <1050423031422.ZM3881@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20050422232316.GA27665@xxxxxxxxxxx> <1050423031422.ZM3881@xxxxxxxxxxxxxxxxxxxxxxx>
> + * 20500: Misc/globtests, Src/glob.c, Src/pattern.c, Src/zsh.h,
> + Src/Zle/complist.c, Test/D02glob.ztst: Use unmetafied strings
> + in patterns more;
> Any or all of those could be contributing to slowness in the example you
> gave. Someone will have to run both versions through a profiler.
Well, I haven't profiled 4.2.1, but in 4.2.5, it's spending all its time
in ztrsub (called 57093 times) in pattryrefs.
> BTW, did you check that both builds used the same compiler optimization
> settings?
Yes.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author