A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01345.html below:

Re: c-ts-mode is slow with large buffers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Eli Zaretskii Subject: Re: c-ts-mode is slow with large buffers. Date: Sun, 20 Nov 2022 17:04:47 +0200
> Date: Sun, 20 Nov 2022 14:47:09 +0000
> From: Alan Mackenzie <acm@muc.de>
> 
> Just for fun, I downloaded the feature/tree-sitter branch, and tried
> scrolling through a large C buffer, from file packet-rrc.c.  This file
> is part of Wireshark, and was the topic of bug #45248.  It is just under
> 10 MB big.
> 
> To scroll all the way through the file with c-ts-mode took ~53 minutes.
> For comparison, in C Mode it to ~157 seconds.  That's a factor of around
> 20 difference.
> 
> Also of interest, towards the end of the buffer in c-ts-mode, the
> font-locking gave up completely.  It was in an initialisation for a big
> brace block.
> 
> I'm probably not saying anything people don't already know, but the
> measured timings might be helpful.

Thanks, but please report this and similar issues using report-emacs-bug,
not here.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4