|
|
6.81 LargeByteArray
- Defined in namespace Smalltalk
- Category: Collections-Sequenceable
I am similar to a plain ByteArray, but I'm specially designed to save
memory when lots of items are zero.
6.81.1 LargeByteArray: overridden
- costOfNewIndex
- Answer the maximum number of consecutive items set to the defaultElement that can be present in a compressed array.
- defaultElement
- Answer the value which is hoped to be the most common in the array
- newCollection: size
- Create a ByteArray of the given size
|