GNU bug report logs - #24012
25.0.95; forward-comment backwards takes O(n^2)

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sun, 17 Jul 2016 11:05:02 UTC

Severity: normal

Found in version 25.0.95

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 24012 <at> debbugs.gnu.org
Subject: Re: bug#24012: 25.0.95; forward-comment backwards takes O(n^2)
Date: Mon, 18 Jul 2016 05:36:10 +0300
> From:  Leo Liu <sdl.web <at> gmail.com>
> Cc: 24012 <at> debbugs.gnu.org
> Date: Mon, 18 Jul 2016 08:15:44 +0800
> 
> On 2016-07-17 15:12 +0300, Eli Zaretskii wrote:
> > Because search functions cannot really search backwards?
> 
> But by changing the major mode to octave-mode you get a 12 times speedup
> without doing anything.

Profile it.  One guess is that the different comment syntax somehow
causes this.  But that's a guess.




This bug report was last modified 5 years and 197 days ago.

Previous Next


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