From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 44564@debbugs.gnu.org, ted.lavarias@gmail.com
Subject: bug#44564: 27.1; C-n in macros causes long delays
Date: Wed, 03 Feb 2021 20:19:24 +0200 [thread overview]
Message-ID: <83bld13tg3.fsf@gnu.org> (raw)
In-Reply-To: <87h7mthw2w.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 03 Feb 2021 18:58:47 +0100)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Wed, 03 Feb 2021 18:58:47 +0100
> Cc: 44564@debbugs.gnu.org
>
> > (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.
Only when line-move-visual is non-nil. If the OP's application
doesn't need that, the function will run much faster if
line-move-visual is bound to nil.
prev parent reply other threads:[~2021-02-03 18:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-11 0:45 bug#44564: 27.1; C-n in macros causes long delays Ted Lavarias
2020-11-11 10:09 ` Lars Ingebrigtsen
2021-01-27 3:59 ` Lars Ingebrigtsen
[not found] ` <CAG60mrRZenr_AmCxe2-5NV-_DLffxpt5mKmweVRRoG-4a3rqLw@mail.gmail.com>
2021-02-03 17:58 ` Lars Ingebrigtsen
2021-02-03 18:19 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83bld13tg3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=44564@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=ted.lavarias@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.