[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Lisp interpreter micro-optimization
From:
Robert Pluim
Subject:
Re: Lisp interpreter micro-optimization
Date:
2022年7月26日 15:11:14 +0200
>>>>> On 2022年7月26日 16:08:13 +0300, Eli Zaretskii <eliz@gnu.org> said:
>> From: Robert Pluim <rpluim@gmail.com>
>> Date: 2022年7月26日 14:36:33 +0200
>>
>> 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.
Eli> Using these _no_quit variants makes potentially prolonged operations
Eli> non-interruptible, which is bad user-friendliness-wise.
Eli> So I'm not sure we should make those changes, certainly not
Eli> willy-nilly.
Thatʼs why I only applied them to Vinternal_interpreter_environment,
which is known to be non-circular, but it could be large, I guess.
Robert
--