|
From: | Lars Ingebrigtsen |
Subject: | Re: New optimisations for long raw strings in C++ Mode. |
Date: | Tue, 09 Aug 2022 17:35:26 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Alan Mackenzie <acm@muc.de> writes: > I've committed the fix. Now the sequence > (i) emacs -Q > (ii) M-: (setq long-line-threshold nil) > (iii) Insert opening and closing raw string delimiters into a C++ Mode > buffer. > (iv) Put point between the delimiters. > (v) M-: (insert (make-string 1000000 ?y)) > > works in a reasonable amount of time (the last step takes under a second > on my system), especially considering that the code scans the inserted > string for a closing raw string delimiter. I can confirm that this is fast now; thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |