Subject: Re: What is expensive about consing
From: rpw3@rpw3.org (Rob Warnock)
Date: Sun, 07 Sep 2008 06:08:41 -0500
Newsgroups: comp.lang.lisp
Message-ID: <t5WdnemUEb2kK17VnZ2dnUVZ_sednZ2d@speakeasy.net>
John Thingstad <jpthing@online.no> wrote:
+---------------
| skrev Andy Chambers <achambers.home@googlemail.com>:
| >   (loop for i below 10000000
...
| > Evaluation took:
...
| >   2,240,000,904 bytes consed.
...
| Looks like a lot to me. That is about 2.2 Kb pr iteration.
+---------------

You slipped a decimal point. It's only 224 bytes/iteration.


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607