GNU bug report logs -
#33670
26.1; very large c++-mode yank performance regression 25.3_1-x86_64 -> 26.1-x86_64
Previous Next
Reported by: Chris Hecker <checker <at> d6.com>
Date: Sat, 8 Dec 2018 02:43:02 UTC
Severity: normal
Tags: moreinfo
Found in version 26.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 33670 <at> debbugs.gnu.org (full text, mbox):
Hello, Chris.
On Sat, Dec 08, 2018 at 13:31:42 -0800, Chris Hecker wrote:
> It wasn’t a string, it was a single line function call. Very simple code.
> Like:
> Foo();
Ah. That's worrying. The cause of the slowdown will not be found in
that single line of code, rather in its context.
The way CC Mode works is, at each buffer change, a region around the
change where side effects might propagate is calculated. This region is
then checked for any such side effects. I'm guessing here, but it might
well be that the region in this case has been extended far more than is
necessary.
Is there any way you could get a copy of the file to me, specifying a
line which shows the problem? It's practically impossible to debug
otherwise.
Thanks!
> Chris
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 3 years and 83 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.