MCPcopy
hub / github.com/apache/echarts / createFloat32Array

Function createFloat32Array

src/util/vendor.ts:62–64  ·  view source on GitHub ↗
(capacity: number)

Source from the content-addressed store, hash-verified

60
61
62export 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.

Callers 5

largeProgressFunction · 0.90
lineAnimationDiffFunction · 0.90
getStackedOnPointsFunction · 0.90
createProgressiveLayoutFunction · 0.90
progressFunction · 0.90

Calls 1

tryEnsureTypedArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…