[Top][All Lists]

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

33% speed up in CC Mode scrolling.

From: Alan Mackenzie
Subject: 33% speed up in CC Mode scrolling.
Date: Wed, 15 Jun 2016 22:20:15 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

Hello Martin, Eli, John, and Emacs.

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.

Alan Mackenzie (Nuremberg, Germany).

reply via email to

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