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

commits at source.squeak.org commits at source.squeak.org
Tue Nov 20 19:29:40 UTC 2018

Chris Cunningham uploaded a new version of Collections to project The Inbox:

==================== 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