emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New optimisations for long raw strings in C++ Mode.


From: Lars Ingebrigtsen
Subject: Re: New optimisations for long raw strings in C++ Mode.
Date: Sun, 07 Aug 2022 14:49:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Alan Mackenzie <acm@muc.de> writes:

> I've just committed some optimisations to the savannah master branch
> which should speed up the handling of long C++ raw strings in an Emacs
> where font-locking is fully working.
>
> On a megabyte long raw string in a normal build on a reasonably modern
> machine, the response is slightly sluggish, but not unreasonable to
> somebody who prefers correct fontification to instant response.

I tried the same test case as before, yanking a 1MB long line into a raw
string, and Emacs is still hanging after 20s (at which point I'm killing
it).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]