new Magma (was: Dictionaries broken in 3.9a)

Chris Muller chris at funkyobjects.org
Thu Sep 22 15:59:29 UTC 2005


I hope you mean only the Dictionary>>at:put: and
WeakKeyDictionary>>associationsDo: fixes, correct?

I'm puzzled how these made it into 3.9 in the first place.  I don't recall ever
submitting them to Mantis, but since they accidently found their way into 3.9
it finally forced the discussion I had wanted to have about them 15 months ago.

The community concensus seems to indicate neither are bugs, so I have adjusted
my programs to live with or without them.  Magma is good to go either way.

Thanks Stéphane..

--- stéphane ducasse <ducasse at iam.unibe.ch> wrote:

> Chris
> 
> we are planning to remove your fixes from 3.9a.
> So let us know your position.
> 
> Stef
> 
> On 21 sept. 05, at 23:47, Chris Muller wrote:
> 
> > In light of the recent discussion regarding nil keys in
> > Dictionaries, I have removed the anti-fixes related to this
> > (including the
> > #associationsDo: override in WeakKeyIdentityDictionary) from their
> > "System
> > overrides for ma object serialization" package of Magma.
> >
> > Magma is back to 100% pure*, making no system changes that have not
> > been
> > approved for at least 3.9.
> >
> > [*] I left the 3.9-approved fixes in, however, for <= 3.8 users.
> >
> > I have also removed all use of Ma*Dictionary's.  They were written
> > to fix the
> > performance bug with #removeKey: for which they are 1000x (or more)
> > faster than
> > their standard counterparts but are a bit slower for other
> > operations.  Magma
> > now avoids removeKey: altogether, so going back to the standard
> > Dictionary's
> > you should enjoy a minor performance improvement.
> >
> > A few more improvements too:
> >
> > - More robust network error handling for when other end drops
> > unexpectedly.
> > - Tests now only open transcript in conductor image.  Besides being
> > faster,
> > Squeak was locking up loading a font or something, no time to debug
> > it.
> > - Fixed possible error when opening partially-written
> > commitPackages file.
> >
> > Let me know if any questions or issues.
> >
> >  - Chris
> >
> >
> 
> 
> 




More information about the Squeak-dev mailing list