Re: are top-level defines forever ?

From: Erick Gallesio <eg_at_unice.fr>
Date: Thu, 11 Mar 1999 19:34:28 +0100 (CET)

Brian Denheyer writes:
>
> If I do
>
> (define x '(1 2 3))
>
> and let's say I am only going to use it to initialize some other
> data-structure and then I will never use it again. Will it ever get
> GC'ed, since it exists at the top-level ?
>

No it will never GC'ed, just because some day you could decide to see
it's value. Of course, this is not true if your definition are in a
let.

                -- Erick
Received on Thu Mar 11 1999 - 21:41:27 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST