The Inbox: Collections-cbc.813.mcz

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

The Inbox: Collections-cbc.813.mcz

commits-2
Chris Cunningham uploaded a new version of Collections to project The Inbox:
http://source.squeak.org/inbox/Collections-cbc.813.mcz

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