Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:in-reply-to:comments:references:to:subject
         :mime-version:content-type;
        bh=awNoutVef/okuJ3pBoioJye+RbLq8k9l7QG0BKbkkPE=;
        b=H0gz0esmSsvrpEgIXkSW4ZOhIU69KqEeSk5C7OUXQFsVfFndu9V3h1f3bSxmbyMVap
         8v3l0gEAc5uUyAnTbBp141Zik9d3M1oocm3MUC/42cca2dI5qq8ZoVuYYlJACsQ56PzS
         Mg1f1dpEEpxTF2cLu+VLd8XvEERhZ7AWgjeon1LuN0haxTbYiRTAM0X+8TpgwNPamteF
         +29KYoqc6HFu+2MBqAkOyYicbKwOPS2Z6L4qh29I7Z7IZiZyid5y0bTDeFeqsOdEoE8e
         bFCaRuXsvFPldABJd5RPVvCI01WfpTGB035rnrBcU99T9mm56yIcVbQ6pQo7+2fr5ikB
         8wvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:in-reply-to:comments
         :references:to:subject:mime-version:content-type;
        bh=awNoutVef/okuJ3pBoioJye+RbLq8k9l7QG0BKbkkPE=;
        b=IOcbQrq+6A1LC5HdHCJMuUaDHGmrIUj+3K0roGB124GWXdGpblMVcxyRxAAWNdIRkn
         tgT8ytjqOqh2GRXSgOSlQVg0qBrPvY+xggwet5Fo7n3on8/M7P/6M5W6q7QILMmuYvS0
         AFr7GgfLWS6/7A3aH2Vwq52uRON9RvocaIEPa/vRi7GaaV78J5O+9zpwrmOgFq9++uoU
         IqN5Pn8JGlyr8s/617BJjpN4WN8pW2BYSb12kqjCJ0z7kLVHsZn9O4ZNL7EuVm19pe1N
         opcPKqttDbfPsY9j67roA0UCVI0sWqyMVLG41Vz7ZBnRcLuz8gjewwkz7TCSwn2q0DtG
         C5vw==
X-Gm-Message-State: AG10YOQiXb5KsrZRRTN1GMeYQCeLA68gj3qcopfW0RmjH87w7D8zVY72isJ48MEGBhsldQ==
X-Received: by 10.98.64.83 with SMTP id n80mr16715283pfa.149.1453616419585;
        Sat, 23 Jan 2016 22:20:19 -0800 (PST)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160123222057.ZM16192@torch.brasslantern.com>
Date: Sat, 23 Jan 2016 22:20:57 -0800
In-Reply-To: <20160123235303.GE20278@tarsus.local2>
Comments: In reply to Daniel Shahaf <d.s@daniel.shahaf.name>
        "Re: "drop-in replacement" and transpose-words-match" (Jan 23, 11:53pm)
References: <160111233259.ZM6719@torch.brasslantern.com> 
	<CAKc7PVDhxbVgmV7WcGgyDzMmWSjwQ=7=LExXTwr7YvPzPpn2RA@mail.gmail.com> 
	<160118223126.ZM28565@torch.brasslantern.com> 
	<CAKc7PVB-X+DYVEHRqSoOiDAjNeTsVyz=EN72FHQuF=AnRmh65A@mail.gmail.com> 
	<160119195608.ZM31931@torch.brasslantern.com> 
	<20160123235303.GE20278@tarsus.local2>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Slow highlighting (Re: "drop-in replacement" and transpose-words-match)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 37756

On Jan 23, 11:53pm, Daniel Shahaf wrote:
}
} [Re-analyzing on every keystroke] doesn't explain the slowness on
} fned buffers: the initial highlight of an fned buffer involves exactly
} one _zsh_highlight call, and yet is slow.

Is it similarly slow on any use of "vared"?  What about with a history
line containing a function definition?

