Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Slow highlighting (Re: "drop-in replacement" and transpose-words-match)
- X-seq: zsh-workers 37806
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Slow highlighting (Re: "drop-in replacement" and transpose-words-match)
- Date: Tue, 26 Jan 2016 20:31:05 -0800
- 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=/A322D89OyQtTnFalvtJlkbFYZJKHs+ceES2Xe1OJhU=; b=mcjvGx8JtdyLaRC/zAjNIjYWatWFQjweoZ4VLst4yJ6bbnxX5FVa0fTauI/z7EpZax eNQB6Ypgc0eifV9mE/dYd18M7wwfM7SuYqFa0KOgo40Y1Y9aN03x4aeIiHFRL9lLDnyX Td/SJowQWDwyVFdRcbr5dpvDNIpju6qjzhTrqMDrmoOG7EkahhoZC54TWUa2GH7bovFd 9F5JMoL0c8ehR/VRIdEznCEb8csAvao84o5VIlN/wYmAF6NC0zagax3dAqQrJviEpfA6 qwKJkQPL3cD9+3cFEy5Bz9Q+m+mXfcPmICLI2WwqtTKKQQkV09jPVIQQSxP42kV3TBPb nT5Q==
- In-reply-to: <20160126225008.GB4731@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- 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> <160123222057.ZM16192@torch.brasslantern.com> <20160126225008.GB4731@tarsus.local2>
On Jan 26, 10:50pm, Daniel Shahaf wrote:
} Subject: Re: Slow highlighting (Re: "drop-in replacement" and transpose-wo
}
} fned with z-sy-h is slow.
}
} vared with z-sy-h is slow.
}
} > What about with a history line containing a function definition?
}
} Also slow.
}
} I also tested it as a single line, and that was still slow:
So, it's not "zed", it's any case where you're doing syntax analysis of
a function definition.
Time to start eliminating the set of highlighters one by one until you
find one that seems to be the culprit? Glancing at the github pages,
there seem to be several hightlighters on by default. My bet would be
on the one that looks for balanced braces, because there is always an
unmatched open brace lurking at the start of the function.
Of course it a combination of highlighters may be involved, which would
be more difficult to isolate.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author