GNU bug report logs - #44564
27.1; C-n in macros causes long delays

Previous Next

Package: emacs;

Reported by: Ted Lavarias <ted.lavarias <at> gmail.com>

Date: Wed, 11 Nov 2020 01:06:02 UTC

Severity: normal

Found in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ted Lavarias <ted.lavarias <at> gmail.com>
Cc: 44564 <at> debbugs.gnu.org
Subject: Re: bug#44564: 27.1; C-n in macros causes long delays
Date: Wed, 03 Feb 2021 18:58:47 +0100
Ted Lavarias <ted.lavarias <at> gmail.com> writes:

> I apologize for such a late response! I never saw your initial email, where you
> requested me to eval those benchmark tests... I finally had a chance to do them
> and here are my results:
>
> (benchmark-run 100 (next-line)) ===> (0.28576279800000004 1
> 0.025205666000000013)
> (benchmark-run 100 (forward-line)) ===> (0.00010560799999999998 0 0.0)
>
> That's quite a significant difference between next-line and forward-line!

Yup; `next-line' is a surprisingly complex function.






This bug report was last modified 4 years and 164 days ago.

Previous Next


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