emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#43631: closed (28.0.50; CC Mode multiline strings grinds performance


From: GNU bug Tracking System
Subject: bug#43631: closed (28.0.50; CC Mode multiline strings grinds performance to a halt)
Date: Fri, 13 Oct 2023 15:28:02 +0000

Your message dated Fri, 13 Oct 2023 15:26:36 +0000
with message-id <ZSlhrFrRcfkGVvrC@ACM>
and subject line Re: bug#43631: 28.0.50; CC Mode multiline strings grinds 
performance to a halt
has caused the debbugs.gnu.org bug report #43631,
regarding 28.0.50; CC Mode multiline strings grinds performance to a halt
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
43631: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43631
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.0.50; CC Mode multiline strings grinds performance to a halt Date: Sat, 26 Sep 2020 13:17:29 +0200
Hello there!

While creating a new mode derived from CC Mode, we noticed performance
is affected heavily when setting a character for
'c-multiline-string-start-char'. There is a discussion around this that
can be found at https://github.com/josteink/csharp-mode/issues/164,
and we were given an easily reproducible repo for this. It is verified
to slow typing down both in 'csharp-mode', 'pike-mode' and in this test
case:
https://github.com/unhammer/csharp-mode/tree/164-repro

I think (unconvincingly) that some of the problematic code is situated
around line 2047 in 'cc-mode.el', but this is only a guess taken from
some light profiling.

The issue is described well on github, and I think me trying to
reiterate that here will only cause subtle confusions.

One thing of note is that you don't even have to have any multiline
strings for this performance hit to occur, meaning all 'csharp-mode'
files do suffer from this.

Let me know if something is still unclear, and I'll try to bring up some
more information.

All the best,
Theodor Thornhill



--- End Message ---
--- Begin Message --- Subject: Re: bug#43631: 28.0.50; CC Mode multiline strings grinds performance to a halt Date: Fri, 13 Oct 2023 15:26:36 +0000
Hello, Emacs.

This bug was fixed with my commits between 2021-08-12 and 2021-08-14.

Closing.

-- 
Alan Mackenzie (Nuremberg, Germany).


--- End Message ---

reply via email to

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