emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 33% speed up in CC Mode scrolling.


From: martin rudalics
Subject: Re: 33% speed up in CC Mode scrolling.
Date: Mon, 27 Jun 2016 08:31:42 +0200

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]