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 #23 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 17:34:32 +0300
> From:  Leo Liu <sdl.web <at> gmail.com>
> Cc: 24012 <at> debbugs.gnu.org
> Date: Mon, 18 Jul 2016 11:05:01 +0800
> 
> On 2016-07-18 05:36 +0300, Eli Zaretskii wrote:
> > Profile it.  One guess is that the different comment syntax somehow
> > causes this.  But that's a guess.
> 
> How to profile it?
> 
> Before reporting this bug I have been trying profiler and elp and came
> to the conclusion that forward-comment was the issue. How do you go
> further than forward-comment which is in C which I only have limited
> experience with?

I meant a comparative profile between the two major modes.

As for profiling primitives, there's 'prof' that can make wonders, if
you are using a platform which it supports.

Thanks.




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.