GNU bug report logs - #20352
Factor 2 slow down of font-locking in c-mode

Previous Next

Packages: cc-mode, emacs;

Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Date: Fri, 17 Apr 2015 01:42:01 UTC

Severity: normal

Found in version 25.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 20352 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: 20352 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: Re: bug#20352: Factor 2 slow down of font-locking in c-mode
Date: 17 Apr 2015 19:10:05 -0000
In article <mailman.852.1429234928.904.bug-gnu-emacs <at> gnu.org> you wrote:
> Package: Emacs
> Version: 25.0.50


>   src/emacs -Q -nw src/xdisp.c                                          \
>       --eval "(progn (font-lock-fontify-region (point-min) (point-max)) \
>                      (kill-emacs))"

> Is about twice as slow with the code from "master" as it is with the
> code from the emacs-24 branch.

Twice as slow, eh?  You should be so lucky!  I've just tried it, and for
me it's nearer a factor of 10.  ;-(

I'll look at this.

>        Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).





This bug report was last modified 9 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.