The Trunk: Collections-ar.304.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Collections-ar.304.mcz

commits-2
Andreas Raab uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ar.304.mcz

==================== 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
+ "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.!