help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 30.0 warning from `cl-pushnew' and `memql'


From: Michael Heerdegen
Subject: Re: Emacs 30.0 warning from `cl-pushnew' and `memql'
Date: Thu, 29 Dec 2022 11:39:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Jean Louis <bugs@gnu.support> writes:

> Let us say I am adding only strings, would this be faster than `push':
>
> (setq my-list '())
> (setq my-list (cons (quote "Word") my-list))

`push' forms expand to code like this.  `cl-pushnew' is slower
because of the additional tests.

Michael.




reply via email to

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