Hashtable (was Re: Dictionaries broken in 3.9a)
Avi Bryant
avi.bryant at gmail.com
Mon Sep 19 02:56:51 UTC 2005
On Sep 18, 2005, at 6:54 PM, Avi Bryant wrote:
> However,
> it doesn't seem to work yet as a drop-in replacement for
> Dictionary/IdentityDictionary in all cases. I'm right now scratching
> my head over why, in an old version of OmniBase, I consistently get a
> deadlock when using IdentityHashTable to map objects to IDs, but it
> works fine using either ODBIdentityDictionary or the standard Squeak
> IdentityDictionary.
Aha. For what it's worth, the problem here was that HashTable was
written under Squeak >= 3.7, and so was expecting #new to
automatically #initialize - which means it was broken under 3.6,
where I was trying to use it (ah, legacy apps...).
Avi
More information about the Squeak-dev
mailing list
|