bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#44564: 27.1; C-n in macros causes long delays


From: Lars Ingebrigtsen
Subject: bug#44564: 27.1; C-n in macros causes long delays
Date: Wed, 03 Feb 2021 18:58:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Ted Lavarias <ted.lavarias@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.







reply via email to

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