[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GC crashes
From: |
Stefan Monnier |
Subject: |
Re: GC crashes |
Date: |
08 Dec 2003 00:16:40 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>> I'll try :weak `key' and check if it really works
>>> locally. It seems that we can't commit anything for a
>>> while anyway.
>> It shouldn't make any difference in practice.
> Why?
You said that the value associated with each key is always an
integer, right? In that case, the value is always survive_gc_p, so it will
never cause the key&value pair to be removed, so whether only `key'
or both key&value are weak shouldn't make any difference.
The only reason why I originally suggested to use `key' is that it
expresses more clearly what you want to see happen. And it will
make a real difference if you ever decide to use values more complex than
just integers.
Stefan
- Re: GC crashes, (continued)
- Re: GC crashes, Stefan Monnier, 2003/12/03
- Re: GC crashes, Kenichi Handa, 2003/12/03
- Re: GC crashes, Stefan Monnier, 2003/12/03
- Re: GC crashes, Stefan Monnier, 2003/12/03
- Re: GC crashes, Kenichi Handa, 2003/12/03
- Re: GC crashes, Kenichi Handa, 2003/12/03
- Re: GC crashes, Stefan Monnier, 2003/12/04
- Re: GC crashes, Kenichi Handa, 2003/12/07
- Re: GC crashes, Stefan Monnier, 2003/12/07
- Re: GC crashes, Kenichi Handa, 2003/12/08
- Re: GC crashes,
Stefan Monnier <=
- Re: GC crashes, Kenichi Handa, 2003/12/08
- Re: GC crashes, Stefan Monnier, 2003/12/08
- Re: GC crashes, Kenichi Handa, 2003/12/08
Re: GC crashes, Eli Zaretskii, 2003/12/02