* c++-mode dreadfully slow?
@ 2008-10-23 11:36 Miles Bader
2008-10-23 13:41 ` Alan Mackenzie
0 siblings, 1 reply; 2+ messages in thread
From: Miles Bader @ 2008-10-23 11:36 UTC (permalink / raw)
To: emacs-devel
Has anyone noticed c++-mode being really slow recently? Recently I've
noticed that sometimes even just scrolling to a new screen can take on
the order of 5 seconds in some C++ files.
[The file I'm looking at currently is a "medium-sized" source file, ~3K
lines, and uses no particularly weird constructs (for instance, no
templates), and has no long functions.]
-Miles
--
Carefully crafted initial estimates reward you not only with
reduced computational effort, but also with understanding and
increased self-esteem. -- Numerical methods in C,
Chapter 9. "Root Finding and Nonlinear Sets of Equations"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++-mode dreadfully slow?
2008-10-23 11:36 c++-mode dreadfully slow? Miles Bader
@ 2008-10-23 13:41 ` Alan Mackenzie
0 siblings, 0 replies; 2+ messages in thread
From: Alan Mackenzie @ 2008-10-23 13:41 UTC (permalink / raw)
To: Miles Bader; +Cc: emacs-devel
Hi, Miles!
On Thu, Oct 23, 2008 at 08:36:24PM +0900, Miles Bader wrote:
> Has anyone noticed c++-mode being really slow recently? Recently I've
> noticed that sometimes even just scrolling to a new screen can take on
> the order of 5 seconds in some C++ files.
Lets assume emacs -Q and cc-*.el have been properly compiled.
By "scrolling to a new screen", do you mean <PageUp> or <PageDown> to an
adjacent screen? Presumably, it's not so bad the second time you scroll
into the same bit of buffer.
> [The file I'm looking at currently is a "medium-sized" source file, ~3K
> lines, and uses no particularly weird constructs (for instance, no
> templates), and has no long functions.]
That's slower than it should be. Is it any slower than an old version?
Say, that in Emacs 22.1 or 22.2?
> -Miles
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-23 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23 11:36 c++-mode dreadfully slow? Miles Bader
2008-10-23 13:41 ` Alan Mackenzie
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).