On Sun, 30 Sep 2012, Nikodemus Siivola wrote:
> On 29 September 2012 19:09, Fredrik Tolf <fredrik@...> wrote:
>> Indeed; it makes me wonder if the compiler or some other even more basic
>> part of SBCL keeps some kind of special reference to it, and makes me
>> wonder if it's even possible to GC classes, and I'm not really competent
>> enough in SBCL's internal to answer that question myself.
>
> It should be possible, but it's a bit of a pain right now. Eg. if
> you've called methods, their dispatch tables are going to hold
> references to the class wrapper.
Oh, I see; that seems like quite a bit of pain, indeed.
If I propose, then, such transient classes as a feature request instead,
would that be taken seriously? :)
--
Fredrik Tolf
|