[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp interpreter micro-optimization
From: |
Po Lu |
Subject: |
Re: Lisp interpreter micro-optimization |
Date: |
Wed, 27 Jul 2022 10:22:48 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
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.