Subject: Re: Slow highlighting (Re: "drop-in replacement" and transpose-words-match)
From: Daniel Shahaf <[email-masked]>
To: Sebastian Gniazdowski <[email-masked]>
Cc: Zsh hackers list <[email-masked]>
Date: Sun, 14 Feb 2016 14:34:40 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

Sebastian Gniazdowski wrote on Thu, Feb 11, 2016 at 13:07:14 +0100:
> I attach the zsyh parser extracted, it's probably easier to profile.
> Output is range, style name and the body of the range. Few worries:
> 
> 10937 10958 double-quoted-argument | "$NLIST_IS_UNIQ_MODE"
> 10938 10957 dollar-double-quoted-argument | $NLIST_IS_UNIQ_MODE
> 
> 930 945 single-hyphen-option | -(#c0,1)[0-9]##

Can you explain what's worrying about these?

The only issue I see is that single-hyphen-option should perhaps not
have been selected in this case.

Thanks,

Daniel