You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(DataArray): add preserveTypedArrays option to getState()
getState({ preserveTypedArrays: true }) preserves TypedArray values
without converting and copying to plain Arrays. This avoids
out-of-memory crashes for large data arrays (e.g. 268M-element
labelmaps where Array.from() would allocate ~1.6GB of boxed Numbers).
The default behavior is unchanged — getState() without options still
returns JSON-safe plain Arrays.
0 commit comments