The Trunk: Collections-cmm.468.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-cmm.468.mcz

commits-2
Chris Muller uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-cmm.468.mcz

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

Name: Collections-cmm.468
Author: cmm
Time: 26 December 2011, 12:56:38.443 pm
UUID: b0f39ad3-ea43-4c20-848b-adbd7e61224d
Ancestors: Collections-cmm.466

Merged.

=============== Diff against Collections-ul.465 ===============

Item was added:
+ ----- Method: HashedCollection class>>arrayType (in category 'private') -----
+ arrayType
+ ^ Array!

Item was changed:
  ----- Method: HashedCollection>>growTo: (in category 'private') -----
  growTo: anInteger
  "Grow the elements array and reinsert the old elements"
 
  | oldElements |
  oldElements := array.
+ array := self class arrayType new: anInteger.
- array := Array new: anInteger.
  self noCheckNoGrowFillFrom: oldElements!

Item was changed:
  ----- Method: HashedCollection>>initialize: (in category 'private') -----
  initialize: n
  "Initialize array to an array size of n"
+ array := self class arrayType new: n.
- array := Array new: n.
  tally := 0!