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

Re: Slow highlighting (Re: "drop-in replacement" and transpose-words-match)



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



Messages sorted by: Reverse Date, Date, Thread, Author