[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding Lists/Sequences
From: |
David Kastrup |
Subject: |
Re: Adding Lists/Sequences |
Date: |
Wed, 24 Sep 2008 17:28:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
> "Drew Adams" <drew.adams@oracle.com> writes:
>
>>>> explain when it is good (if it is) to use these destructive functions.
>>>
>>> Generally, speed. Non-destructive operations often create
>>> or copy a lot of new cons cells.
>>
>> Or when you want to share Lisp structure. A special case is a circular
>> structure, which shares part(s) of itself with itself.
>>
> Can you provide a small example ?
(let ((x (list 1 2 3))) (nconc x x))
--
David Kastrup
- Re: Adding Lists/Sequences, (continued)
- Message not available
- Re: Adding Lists/Sequences, David Kastrup, 2008/09/23
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- Re: Adding Lists/Sequences, Nikolaj Schumacher, 2008/09/24
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- RE: Adding Lists/Sequences, Drew Adams, 2008/09/24
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- Re: Adding Lists/Sequences,
David Kastrup <=
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- RE: Adding Lists/Sequences, Drew Adams, 2008/09/24
- Re: Adding Lists/Sequences, Thierry Volpiatto, 2008/09/24
- Message not available
- Re: Adding Lists/Sequences, Tim X, 2008/09/25
- Re: Adding Lists/Sequences, David Kastrup, 2008/09/25
- Re: Adding Lists/Sequences, Pascal J. Bourguignon, 2008/09/25