Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.895.mcz==================== Summary ====================
Name: Collections-nice.895
Author: nice
Time: 10 May 2020, 9:50:58.314661 pm
UUID: cfd7db5f-61a4-48b5-a4d4-8ef873472161
Ancestors: Collections-nice.894
Remove byteSize, because super just works
It could have been defined as:
^self size * self bytesPerElement
But super is less dependent on correct redefinition of above two messages:
^ self basicSize * self bytesPerBasicElement
=============== Diff against Collections-nice.894 ===============
Item was removed:
- ----- Method: ByteArray>>byteSize (in category 'accessing') -----
- byteSize
- ^self size!
Item was removed:
- ----- Method: DoubleByteArray>>byteSize (in category 'accessing') -----
- byteSize
- ^self size * 2!
Item was removed:
- ----- Method: DoubleWordArray>>byteSize (in category 'accessing') -----
- byteSize
- ^self size * 8!
Item was removed:
- ----- Method: Float32Array>>byteSize (in category 'accessing') -----
- byteSize
- ^self size * 4!
Item was removed:
- ----- Method: Float64Array>>byteSize (in category 'accessing') -----
- byteSize
- ^self size * 8!
Item was removed:
- ----- Method: SignedByteArray>>byteSize (in category 'accessing') -----
- byteSize
- ^self size!
Item was removed:
- ----- Method: SignedDoubleByteArray>>byteSize (in category 'accessing') -----
- byteSize
- ^self size * 2!
Item was removed:
- ----- Method: SignedDoubleWordArray>>byteSize (in category 'accessing') -----
- byteSize
- ^self size * 8!
Item was removed:
- ----- Method: SignedWordArray>>byteSize (in category 'accessing') -----
- byteSize
- ^self size * 4!
Item was removed:
- ----- Method: WordArray>>byteSize (in category 'accessing') -----
- byteSize
- ^self size * 4!