emacs-devel
[Top][All Lists]
Advanced

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

Re: Any interest in a function like this to add to subr.el?


From: Stefan Monnier
Subject: Re: Any interest in a function like this to add to subr.el?
Date: Wed, 19 Oct 2016 21:48:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>>> We'd want a destructive version of it as well, though.
>> Why?
> I was thinking for performance.

I'd find it really surprising if N uses of `cons` would be
sufficiently more expensive than N uses of `setcar` not to be
drowned by the O(N*log N) funcalls and other processing.
But it wouldn't be the first time I was wrong, of course.


        Stefan




reply via email to

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