[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Request] seq-map and mapcar with arbitrary number of sequences
From: |
David Kastrup |
Subject: |
Re: [Request] seq-map and mapcar with arbitrary number of sequences |
Date: |
Sat, 10 Oct 2015 19:58:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
"John Wiegley" <address@hidden> writes:
>>>>>> <address@hidden> writes:
>
>> Furthermore, if anyone feels up to the task, I think it would make sense for
>> the builtin mapc and mapcar too.
>
> Those two functions are used in a large number of places. Adding support for a
> "&rest seqs" argument rather than "seq" could impact performance, as it now
> has to walk a one-element seqs to get the seq it had directly before. I
> believe it would add another cons cell to the memory footprint, to package the
> argument?
>
> I'm fine with low-level functions preferring simplicity, since we have cl-lib
> to provide higher-level versions that does not.
The byte compiler should be able to squash the difference, right?
--
David Kastrup
- [Request] seq-map and mapcar with arbitrary number of sequences, bruce.connor.am, 2015/10/10
- Re: [Request] seq-map and mapcar with arbitrary number of sequences, John Wiegley, 2015/10/10
- Re: [Request] seq-map and mapcar with arbitrary number of sequences,
David Kastrup <=
- Re: [Request] seq-map and mapcar with arbitrary number of sequences, John Wiegley, 2015/10/10
- Re: [Request] seq-map and mapcar with arbitrary number of sequences, Artur Malabarba, 2015/10/11
- Re: [Request] seq-map and mapcar with arbitrary number of sequences, John Wiegley, 2015/10/11
- Re: [Request] seq-map and mapcar with arbitrary number of sequences, Nicolas Petton, 2015/10/11
- Re: [Request] seq-map and mapcar with arbitrary number of sequences, John Wiegley, 2015/10/15
Re: [Request] seq-map and mapcar with arbitrary number of sequences, Richard Stallman, 2015/10/11
Re: [Request] seq-map and mapcar with arbitrary number of sequences, David Kastrup, 2015/10/13