Discussion:
The Inbox: Collections-cbc.813.mcz
(too old to reply)
c***@source.squeak.org
0000-11-21 19:29:40 UTC
Permalink
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 s

Loading...