From: John Wiegley <jwiegley@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp, 11545@debbugs.gnu.org
Subject: bug#11545: 24.0.96-mac-2.92; Strange speed problem scrolling in C++ code
Date: Wed, 23 May 2012 17:27:34 -0500 [thread overview]
Message-ID: <m2obpea5yh.fsf@gmail.com> (raw)
In-Reply-To: <83boleyisb.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 23 May 2012 19:16:36 +0300")
>>>>> Eli Zaretskii <eliz@gnu.org> writes:
>> Start either Emacs with -Q -nw. Open a largish C++ file. Hold down C-v.
>> On my laptop the lagginess was quite obvious, on my desktop a little less
>> so.
> Does the sluggishness go away if, right after starting Emacs, you type "M-x
> global-font-lock-mode RET" to disable font-lock, and _then_ visit that
> largish C++ file?
Yes. With font-lock off, it is buttery smooth.
So it looks like either the new cc-mode, or Emacs 24, is causing lots of
GC'ing when lazy fontifying a large C++ header. And in fact, this header is
mostly C, so there's nothing complex in it like templates to throw cc-mode off
the mark.
John
next prev parent reply other threads:[~2012-05-23 22:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m2d364ocwo.fsf@gmail.com>
[not found] ` <wlwr4bsioz.wl%mituharu@math.s.chiba-u.ac.jp>
[not found] ` <m2zk97qvpr.fsf@gmail.com>
[not found] ` <wlvcju737a.wl%mituharu@math.s.chiba-u.ac.jp>
2012-05-23 7:24 ` bug#11545: 24.0.96-mac-2.92; Strange speed problem scrolling in C++ code John Wiegley
2012-05-23 7:35 ` Andreas Schwab
2012-05-23 7:51 ` Glenn Morris
2012-05-23 8:15 ` Glenn Morris
2012-05-23 10:28 ` John Wiegley
2012-05-23 16:16 ` Eli Zaretskii
2012-05-23 22:27 ` John Wiegley [this message]
2012-05-25 21:45 ` Alan Mackenzie
2012-05-26 7:46 ` John Wiegley
2012-05-28 23:05 ` John Wiegley
2012-06-02 21:20 ` Alan Mackenzie
2012-06-11 13:31 ` bug#11545: " John Wiegley
2019-11-01 18:40 ` Stefan Kangas
2019-11-02 10:59 ` Alan Mackenzie
2019-11-02 11:08 ` Stefan Kangas
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2obpea5yh.fsf@gmail.com \
--to=jwiegley@gmail.com \
--cc=11545@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.