(capacity: number)
| 60 | |
| 61 | |
| 62 | export function createFloat32Array(capacity: number): number[] | Float32Array { |
| 63 | return tryEnsureTypedArray({ctor: Float32ArrayCtor}, capacity).arr as number[] | Float32Array; |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * Use Typed Array if possible for performance optimization, otherwise fallback to a normal array. |
no test coverage detected
searching dependent graphs…