[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slowdown (hang) with large c++ files
From: |
Maciej Katafiasz |
Subject: |
Re: Slowdown (hang) with large c++ files |
Date: |
Mon, 23 Apr 2007 23:48:09 +0000 (UTC) |
User-agent: |
pan 0.120 (Plate of Shrimp) |
Den Mon, 23 Apr 2007 08:39:54 -0700 skrev gga:
> I am trying to fix an issue with GNU emacs that is driving me insane
> which is a severe slow-down (a hang of 10 seconds or more) whenever
> I've loaded a large C++ buffer (100,000+ lines or more -- a file
> autogenerated by swig).
> The hang happens sporadically for no reason (no user action triggers
> it) and happens even if the buffer is not being displayed.
> It may be font-lock issue, but I am unsure how to limit font-lock to
> parse only a couple of lines.
>
> Can anyone help me out or suggest stuff to try?
Are you using CEDET / semantic? Is the file particularly nasty, such as
by having lots of code-generating macros (like, say
FOR_BLOCK(i, "asd") { .. }) which could confuse the parser?
Cheers,
Maciej