From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6672 invoked by alias); 14 Feb 2016 14:41:24 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37968 Received: (qmail 11802 invoked from network); 14 Feb 2016 14:41:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.1 Date: Sun, 14 Feb 2016 14:34:40 +0000 From: Daniel Shahaf To: Sebastian Gniazdowski Cc: Zsh hackers list Subject: Re: Slow highlighting (Re: "drop-in replacement" and transpose-words-match) Message-ID: <20160214143440.GA11737@tarsus.local2> References: <160118223126.ZM28565@torch.brasslantern.com> <160119195608.ZM31931@torch.brasslantern.com> <20160123235303.GE20278@tarsus.local2> <160123222057.ZM16192@torch.brasslantern.com> <160210101846.ZM2333@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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