[BUG][FIX] Smalltalk = Smalltalk [et]
chris at funkyobjects.org
chris at funkyobjects.org
Tue Sep 14 05:15:44 UTC 2004
Attempting to:
Smalltalk = Smalltalk
takes an incredible long time (hours) and causes the image to consume
copius amounts of memory before I finally killed it.
Why do this? Serialization testing.
This changeset fixes the problem by adding a guard to the beginning of
Dictionary>>#=.
= aDictionary
"... comment omitted for brevity ..."
self == aDictionary ifTrue: [ ^ true ].
...
A Dictionary is always equivalent to itself, right? All SUnits passed
with this change.
Thanks,
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DictionaryEquivalencePerformanceBoost.cs.gz
Type: application/octet-stream
Size: 370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040914/9060a0e4/DictionaryEquivalencePerformanceBoost.cs.obj
More information about the Squeak-dev
mailing list
|