|
From: | Dmitry Gutov |
Subject: | Re: Any interest in a function like this to add to subr.el? |
Date: | Thu, 20 Oct 2016 02:12:42 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 |
On 19.10.2016 17:48, Stefan Monnier wrote:
We'd want a destructive version of it as well, though.Why?
I was thinking for performance.But yeah, we should probably benchmark the two versions on multiple inputs, and only keep the destructive version if it's indeed noticeably faster on some (like big lists where the predicate costs on the order of the magnitude of allocating a new cons).
[Prev in Thread] | Current Thread | [Next in Thread] |