API / geotoolkit / util / TypedArrayLimits / TypedArrayLimits
util.TypedArrayLimits.TypedArrayLimits
Constructors
Properties
Methods
▸ Static getArrayThreeLimit(): number
Calculate the limit Chrome allocates memory with Array.push(value1, value2, value3) For Safari there is no limit in allocating with regular array. The limit is obtained by pushing three values to an empty array in a try/catch block until it fails. This value could be different across devices and browsers.
number
▸ Static getFloat32ArrayLimit(): number
Get the maximum number of elements that can be stored with Float32Array. The limit is obtained by allocating arrays of larger sizes repeatedly in a try/catch block until it fails. This value could be different across devices and browsers.
number
▸ Static getUint32ArrayLimit(): number
Get the maximum number of elements that can be stored with Uint32Array. The limit is obtained by allocating arrays of larger sizes repeatedly in a try/catch block until it fails. This value could be different across devices and browsers.
number