emacs-devel
[Top][All Lists]
Advanced

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

Re: Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode.


From: martin rudalics
Subject: Re: Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode.
Date: Mon, 20 Oct 2014 14:05:01 +0200

> I got this, until I re-bootstrapped my trunk with full compiler
> optimisation, no debugging set, and no extra checks enabled.  Then I got
> pretty much the same results for the trunk as 24.4.
>
> The main reason I did all this, which nobody's commented on so far, was
> to get a handle on how much the `open-paren-in-column-0-is-defun-start',
> now bound to nil at critical places in CC Mode, was actually costing on a
> large C file.  On 24.4 you get 22%, on the trunk, 61%.  I get 31% in
> 24.4, and 32% in the trunk.
>
> It seems that "instrumentation" is increasing the cost of
> open-paren-etc.

All my builds are configured the same way.  So this doesn't explain why
24.4 (which IIUC binds `open-paren-in-column-0-is-defun-start' to nil
too) is four times faster.

martin



reply via email to

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