[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
&rest replacement/addition
- To: Stever@waikato.s4cc.symbolics.com
- Subject: &rest replacement/addition
- From: Jon L White <edsel!jonl@labrea.Stanford.EDU>
- Date: Fri, 8 Apr 88 03:17:54 PDT
- Cc: ELIOT@cs.umass.edu, common-lisp@sail.stanford.edu
- In-reply-to: Stephen Robbins's message of Wed, 6 Apr 88 12:43 EDT <19880406164304.2.STEVER@JEWEL-CAVE.S4CC.Symbolics.COM>
re: . . . We found that &REST CONSing was
taking time and space we couldn't afford (the things it was doing to
the freelist! :-)
You didn't say what implementation of Common Lisp you were using. Some
do ordinary CONSing for &rest lists; some do "stack allocation"; and finally
others offer a DYNAMIC-EXTENT declaration so that you can choose, on a
per-function basis.
From your comment about the "freelist!", I would assume you were in an
implementation that did ordinary consing. I wonder how the selective
use of a DYNAMIC-EXTENT would have affected the project?
-- JonL --