unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Chong Yidong <cyd@gnu.org>
Cc: Helmut Eller <eller.helmut@gmail.com>, 10652@debbugs.gnu.org
Subject: bug#10652: 24.0.93; font-lock very slow for C++
Date: Fri, 2 Mar 2012 22:27:47 +0000	[thread overview]
Message-ID: <20120302222747.GA25732__24210.6617232368$1330727431$gmane$org@acm.acm> (raw)
In-Reply-To: <874nuekjte.fsf@gnu.org>

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).





  parent reply	other threads:[~2012-03-02 22:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-30 11:15 bug#10652: 24.0.93; font-lock very slow for C++ Helmut Eller
2012-02-26  9:47 ` Chong Yidong
2012-03-01 19:36   ` Alan Mackenzie
2012-03-02 22:27   ` Alan Mackenzie [this message]
2012-03-16 14:19   ` Alan Mackenzie
2012-03-14  9:45 ` bug#10652: " Toon Claes
2012-03-16 10:18   ` bug#10652: Recursive loop in alloc.c [ Was: font-lock very slow for C++ ] Alan Mackenzie
     [not found]   ` <20120316101838.GB3439@acm.acm>
2012-03-16 10:34     ` Andreas Schwab
2012-03-16 14:24 ` bug#10652: 24.0.93; font-lock very slow for C++ Alan Mackenzie
2012-03-28  7:07 ` bug#10652: " Toon Claes
2012-03-29  9:35   ` Alan Mackenzie
2012-03-29 19:46     ` Toon Claes
2012-03-29 22:00       ` Alan Mackenzie
2012-04-02  7:48         ` Toon Claes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='20120302222747.GA25732__24210.6617232368$1330727431$gmane$org@acm.acm' \
    --to=acm@muc.de \
    --cc=10652@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    --cc=eller.helmut@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).