emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] comment-cache 223d16f 2/3: Apply `comment-depth' text


From: martin rudalics
Subject: Re: [Emacs-diffs] comment-cache 223d16f 2/3: Apply `comment-depth' text properties when calling `back_comment'.
Date: Sat, 12 Mar 2016 19:10:24 +0100

> There was a nasty little bug in a low level "get me to the beginning of
> a literal" function which caused it to do repeated parse-partial-sexp
> from BOB.  Could you try out the patch below, please, which should fix
> it, and make `bar' go at the same speed as 'foo'.  I'd be interested in
> your general impression as to whether CC Mode seems any faster because
> of this fix.

It makes backwards scanning here slower by a factor of 2 on the release
branch ;-) Now there is one thing I didn't notice earlier: The behavior
of my functions on the release branch seems OK and already as fast as
for Emacs 23 (actually, backwards scanning seems even slightly faster).

My earlier comparisons were for current master since that's where your
comment-cache changes apparently should have been applied to.  So
something's strange going on - the release branch is faster than master
by a factor of 20 on both of my functions.  Can you investigate what's
going on here?

Thanks, martin



reply via email to

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