[Seaside] Why isn't this a weak dictionary of some ilk?

Lukas Renggli renggli at gmail.com
Wed Apr 22 15:32:27 UTC 2009


Squeak has no weak dictionaries that reliably works. If you want you
can replace this call with a WeakIdentityDictionary, but we found it
less problematic like this.

Lukas

On Wed, Apr 22, 2009 at 5:17 PM, John Chludzinski
<john.chludzinski at gmail.com> wrote:
> WAHalo class>>initialize
> Halos := SeasidePlatformSupport weakDictionaryOfSize: 20
>
> SeasidePlatformSupport class>>weakDictionaryOfSize: aNumber
> ^ IdentityDictionary new: aNumber
>
> Why isn't this a weak dictionary of some ilk?
>
> ---jski
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list