[squeak-dev] The Trunk: Collections-ar.304.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 12 07:53:32 UTC 2010

Andreas Raab uploaded a new version of Collections to project The Trunk:

==================== Summary ====================

Name: Collections-ar.304
Author: ar
Time: 11 February 2010, 11:52:58.959 pm
UUID: 9e97b360-adf1-f745-8f8c-562aa08d566e
Ancestors: Collections-ar.303

Fix an age-old bug in Association>>hash which causes extreme slowdowns in compiling Unicode methods. Association>>hash does not need to hash the value; it's slow and useless.

=============== Diff against Collections-ar.303 ===============

Item was changed:
  ----- Method: Association>>hash (in category 'comparing') -----
+ 	"Hash is reimplemented because = is implemented.
+ 	The super implementation is used to avoid hashing the value
+ 	which can be extremely expensive."
+ 	^super hash!
- 	"Hash is reimplemented because = is implemented."
- 	^key hash bitXor: value hash.!

More information about the Squeak-dev mailing list