Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: replacement slowdown



> +       * 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