From: Po Lu <luangruo@yahoo.com>
To: Robert Pluim <rpluim@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Lisp interpreter micro-optimization
Date: Wed, 27 Jul 2022 10:22:48 +0800 [thread overview]
Message-ID: <87wnbzuwef.fsf@yahoo.com> (raw)
In-Reply-To: <877d4082zy.fsf@gmail.com> (Robert Pluim's message of "Tue, 26 Jul 2022 14:36:33 +0200")
Robert Pluim <rpluim@gmail.com> writes:
> Hi,
>
> I noticed we have an assq_no_quit, but no memq_no_quit, so came up
> with the attached, which Iʼm convinced speeds up elisp by at least
> .01% (Iʼm using Larsi-maths 😺), but Iʼm not convinced itʼs
> worth pushing.
FWIW we usually use assq_no_quit in situations where non local exits are
not safe. It's not supposed to be faster than Fassq itself.
prev parent reply other threads:[~2022-07-27 2:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-26 12:36 Lisp interpreter micro-optimization Robert Pluim
2022-07-26 13:08 ` Eli Zaretskii
2022-07-26 13:11 ` Robert Pluim
2022-07-27 2:22 ` Po Lu [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=87wnbzuwef.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=emacs-devel@gnu.org \
--cc=rpluim@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.