growthFactor

growthFactor: undefined | number

Controls how much additional memory is allocated when the TypedArray needs to be resized to accomodate more elements. TypedArrayBuilder.ensureCapacity multiplies the required capacity by this factor to determine the new capacity. Default: 1.5 Minimum: 1.0, which causes the TypedArray to allocate exactly the space it needs each time it is resized.

Defined in

Last Updated: 25 April, 2024