inspect-js / inspect-js/object-inspect

Support large TypedArrays

Open
#44 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
160
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Hi and thanks for the great project,

I'm writing a browser app that uses the Web Audio APIs and my state includes several large (~40MB) Float32Arrays of decoded audio data. Trying to dump the state using objectInspect causes the tab to freeze, presumably because it tries to stringify every value of the array. Would it be possible to output `Float32Array [ 42, 42, 42, ... ]` for these kinds of values, like the example in the README that includes a `...` for deeply nested DOM elements?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.