mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MIT-Scheme-devel] make-eq-hash-table


From: Chris Hanson
Subject: Re: [MIT-Scheme-devel] make-eq-hash-table
Date: Mon, 21 Dec 2009 14:03:50 -0800

Actually, they want to be both key-weak and datum-weak.

On Mon, Dec 21, 2009 at 9:12 AM, Taylor R Campbell <address@hidden> wrote:
>   Date: Sun, 20 Dec 2009 21:49:38 -0800
>   From: Chris Hanson <address@hidden>
>
>   I agree with most of your analysis.
>
> OK, I'll start making the changes.
>
>   *** xml/xml-names.scm
>
>   This is hairy: part of it looks like it needs to be datum-weak, but we
>   don't have that now.  But someone more familiar with the XML name
>   abstraction should review this.
>
>   ****************
>   All three tables should be weak.
>
> Making them weak will do nothing, actually, because every datum in
> them has a strong reference to its key.  These want to be datum-weak
> hash tables, not key-weak hash tables.  So I think that for now, since
> we don't have datum-weak hash tables, these should all be strong,
> perhaps with a comment about what the state of affairs should be.
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]