From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Any interest in a function like this to add to subr.el?
Date: Thu, 20 Oct 2016 02:12:42 +0300 [thread overview]
Message-ID: <bc2ce222-19d8-8871-3ea9-dcd4e79f5942@yandex.ru> (raw)
In-Reply-To: <jwvtwc84cp1.fsf-monnier+gmane.emacs.devel@gnu.org>
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).
next prev parent reply other threads:[~2016-10-19 23:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-18 17:53 Any interest in a function like this to add to subr.el? John Wiegley
2016-10-18 20:13 ` Dmitry Gutov
2016-10-18 20:34 ` John Wiegley
2016-10-18 21:09 ` Dmitry Gutov
2016-10-18 21:25 ` John Wiegley
2016-10-19 5:01 ` Ken Raeburn
2016-10-19 6:02 ` John Wiegley
2016-10-19 14:51 ` Stefan Monnier
2016-10-19 14:48 ` Stefan Monnier
2016-10-19 23:12 ` Dmitry Gutov [this message]
2016-10-20 1:48 ` Stefan Monnier
2016-10-19 13:46 ` Andy Moreton
2016-10-19 14:52 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bc2ce222-19d8-8871-3ea9-dcd4e79f5942@yandex.ru \
--to=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.