[squeak-dev] The Trunk: Collections-cbc.813.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Feb 12 22:26:56 UTC 2019

Nicolas Cellier uploaded a new version of Collections to project The Trunk:

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

Name: Collections-cbc.813
Author: cbc
Time: 20 November 2018, 11:28:59.501218 am
UUID: 78c08e62-a381-284a-b476-6e638d99f91d
Ancestors: Collections-cbc.812

Altered Interval>>hash to increase entropy

=============== Diff against Collections-cbc.812 ===============

Item was changed:
  ----- Method: Interval>>hash (in category 'comparing') -----
  	"Hash is reimplemented because = is implemented."
+         ^((start hash hashMultiply bitXor: self last hash) hashMultiply
+                 bitXor: self size)!
- 	^(((start hash bitShift: 2)
- 		bitOr: self last hash)
- 		bitShift: 1)
- 		bitOr: self size!

More information about the Squeak-dev mailing list