emacs-devel
[Top][All Lists]
Advanced

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

Re: Slow fontification in C mode buffers


From: Sujith
Subject: Re: Slow fontification in C mode buffers
Date: Sat, 3 Dec 2011 21:02:03 +0530

Eli Zaretskii wrote:
> Do you see any significant difference in performance between when
> point is inside of a very large comment, like at the beginning of
> src/xdisp.c, and when point is in "normal" C code, with only
> relatively short comments?

Yep, with 24.0.92 I can see this behavior. And it's easily reproducible too.

* Open a new C file (say a.c)
* Copy all text from COPYING.
* Paste into a.c
* Try to scroll backwards.

And here the CPU usage maxes out and doesn't really recover.

Sujith



reply via email to

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