emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 26 Jul 2022 15:11:14 +0200

>>>>> On Tue, 26 Jul 2022 16:08:13 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Date: Tue, 26 Jul 2022 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
-- 



reply via email to

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