From: martin rudalics <rudalics@gmx.at>
To: Alan Mackenzie <acm@muc.de>, Eli Zaretskii <eliz@gnu.org>,
John Wiegley <johnw@gnu.org>,
emacs-devel@gnu.org
Subject: Re: 33% speed up in CC Mode scrolling.
Date: Mon, 27 Jun 2016 08:31:42 +0200 [thread overview]
Message-ID: <5770C84E.30208@gmx.at> (raw)
In-Reply-To: <20160615222015.GA4813@acm.fritz.box>
> I've just committed b76385c05076f0adaf7cf89d0ed95dfe5e8570e0 to the
> master branch. This takes some code out of CC Mode's font-locking's
> hottest loop and puts it back in again in a place where is gets called
> less often.
>
> This speeds up CC Mode's scrolling (as measured on our favourite file,
> xdisp.c) by about one third. There may be scope for further optimisation
> of this code.
>
> This is a substantial and worthwhile, although not spectacular, speed up
> of CC Mode.
This change has hardly any effect here. Scrolling xdisp.c with a '-O0
-g2 -gdwarf-2' build run via emacs -Q is still virtually impossible.
martin
next prev parent reply other threads:[~2016-06-27 6:31 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-15 22:20 33% speed up in CC Mode scrolling Alan Mackenzie
2016-06-16 0:41 ` John Wiegley
2016-06-16 1:02 ` Clément Pit--Claudel
2016-06-16 23:15 ` Richard Stallman
2016-06-17 15:38 ` Alan Mackenzie
2016-06-19 17:21 ` Richard Stallman
2016-06-20 0:44 ` Stefan Monnier
2016-06-20 23:04 ` Richard Stallman
2016-06-21 0:47 ` Stefan Monnier
2016-06-22 6:34 ` Richard Stallman
2016-06-27 6:31 ` martin rudalics [this message]
2016-06-27 12:49 ` Alan Mackenzie
2016-06-27 16:10 ` martin rudalics
2016-06-27 17:28 ` martin rudalics
2016-06-27 18:44 ` Alan Mackenzie
2016-06-28 8:23 ` martin rudalics
2016-06-28 10:27 ` Alan Mackenzie
2016-06-27 16:28 ` Eli Zaretskii
2016-06-27 16:57 ` martin rudalics
2016-06-27 19:31 ` Eli Zaretskii
2016-06-28 8:23 ` martin rudalics
2016-06-28 9:18 ` Alan Mackenzie
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=5770C84E.30208@gmx.at \
--to=rudalics@gmx.at \
--cc=acm@muc.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=johnw@gnu.org \
/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).