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

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

bug#10652: 24.0.93; font-lock very slow for C++


From: Alan Mackenzie
Subject: bug#10652: 24.0.93; font-lock very slow for C++
Date: Fri, 2 Mar 2012 22:27:47 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Yidong, hello Helmut.

On Sun, Feb 26, 2012 at 05:47:25PM +0800, Chong Yidong wrote:
> Helmut Eller <eller.helmut@gmail.com> writes:

> > Font lock is extremely slow in this file:

> > http://hg.openjdk.java.net/jdk7/jdk7/hotspot/raw-file/b92c45f2bc75/src/share/vm/runtime/globals.hpp

> > Download the file and open it with emacs -Q globals.hpp.  Then
> > scroll around in the file to see how slow it is.

> I got Emacs into an uninterruptible loop while scrolling through the
> buffer :-(

> Looks like a regression against Emacs 23's CC mode, which handles the
> file just fine.  Alan, could you investigate?  Thanks.

I've just committed a collection of optimisations as revision #107485.  I
can now scroll through the huge macro in that file quite quickly.

However, typing in the buffer is still suboptimal.  I don't know how much
I'll be able to do to sort this out.

-- 
Alan Mackenzie (Nuremberg, Germany).





reply via email to

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