remove: and GOODS -- identity problems?

Ragnar Hojland Espinosa ragnar.hojland at linalco.com
Wed Jul 7 09:46:43 UTC 2004


On Tue, Jul 06, 2004 at 12:48:37PM -0700, Avi Bryant wrote:
> >I chatted with Avi and the simplest workaround we could think of is to 
> >send rehash when GOODS instantiates a set. That solves the problem but 
> >it is suboptimal: The rehashing modifies the set which then gets 
> >written back on each commit. This made the workaround for me unusable 
> >because too many write conflicts occurred.
> 
> I've just put a new version of GOODS on SqueakMap that includes a 
> KKIdentitySet which doesn't have this problem.  You have to give it a 
> reference to the KKDatabase instance it belongs to when you create it:
> 
> set := KKIdentitySet database: myDb.

I get the objects back, but all the instance vars in the objects are
nil.

-- 
Ragnar Hojland - Project Manager
Linalco "Specialists in Linux and Free Software"
http://www.linalco.com  Tel: +34-91-4561700



More information about the Squeak-dev mailing list