[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Request] seq-map and mapcar with arbitrary number of sequences
From: |
Richard Stallman |
Subject: |
Re: [Request] seq-map and mapcar with arbitrary number of sequences |
Date: |
Sun, 11 Oct 2015 16:51:04 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> 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?
We could add a facility to define a &rest function to specify
another function to handle the one-arg case. That way, the simple
case now handled would be essentially as efficient as it is now,
interpreted.
Byte compiled, the optimiziation is easier since it can be done
purely inside the byte compiler.
--
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.
- [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, 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, 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 <=
Re: [Request] seq-map and mapcar with arbitrary number of sequences, David Kastrup, 2015/10/13