Subject: Re: Slow highlighting (Re: "drop-in replacement" and transpose-words-match)
From: Sebastian Gniazdowski <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Fri, 12 Feb 2016 08:34:11 +0100
List-Id: Zsh Workers List <zsh-workers.zsh.org>

Just realized that I was doing:

    region_highlight+=("$start $end $sort | ${buf[start+1,end]}")

instead of:

    region_highlight+=("$start $end $sort")

in the parse.zsh. With this corrected the result is closer to 50%:

./parse.zsh "zplugin.zsh" > out_norm.txt 106,17s user 7,84s system 98%
cpu 1:55,85 total

./parse.zsh "zplugin.zsh" > out_opt.txt 51,91s user 7,44s system 99%
cpu 59,912 total

Best regards,
Sebastian Gniazdowski