[squeak-dev] The Inbox: Collections-cmm.874.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jan 24 21:32:48 UTC 2020


Chris Muller uploaded a new version of Collections to project The Inbox:
http://source.squeak.org/inbox/Collections-cmm.874.mcz

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

Name: Collections-cmm.874
Author: cmm
Time: 24 January 2020, 3:32:43.628249 pm
UUID: 107f3a74-177c-4338-9ad3-648e427419a1
Ancestors: Collections-ul.871

- Optimize for system compactness by ensuring the default internal array size of any HashedCollection is not initialized larger than it may ever need to be.
- Let #new: be used to define larger sizes than the minimum, and perform comparably with #new even if the minimum size is specified.

=============== Diff against Collections-ul.871 ===============

Item was changed:
  ----- Method: HashedCollection class>>new (in category 'instance creation') -----
  new
+ 	^ self basicNew initialize: 3!
- 	^ self basicNew initialize: 5!



More information about the Squeak-dev mailing list