[Top][All Lists]

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

Re: cc-mode: recent performance issues?

From: Alan Mackenzie
Subject: Re: cc-mode: recent performance issues?
Date: Tue, 9 Nov 2021 18:12:08 +0000

Hello, Yuri.

On Tue, Nov 09, 2021 at 17:42:48 +0100, Yuri D'Elia wrote:
> I noticed a relatively recent performance issue in cc-mode.

> Try opening the following attached file, which is a random c++ piece of
> code containing some template-heavy function repeated multiple times.

> In emacs -q -nw, try to scroll down a bit, then up. Emacs gets busy in a
> display loop.

> Under x11/lucid (emacs/lucid with NATIVE_FULL_AOT=1), it's a bit more
> responsive at first, but still gets stuck in the display loop to the
> point of being unusable after a few seconds.

I'm still diagnosing this.  As a temporary workaround, please try

    (setq c-type-finder-time-slot nil)


Alan Mackenzie (Nuremberg, Germany).

reply via email to

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