kripken · GitHub

added 2 commits

January 23, 2019 12:51
…in memfs. we have careful logic there to avoid allocating too much or too frequently, and it just uses 8x less memory than a js array in v8

Closed

@kripken

@kripken

kripken deleted the no-MEMFS_APPEND_TO_TYPED_ARRAYS branch

January 23, 2019 22:51

juj added a commit to juj/emscripten that referenced this pull request

Jan 14, 2021
… was removed, dropping the support for using regular JS Arrays to back MEMFS file storage. In this PR, complete the removal of old code that related to JS Array backing, since all files are now typed array backed.

@juj juj mentioned this pull request

Jan 14, 2021

Merged

juj added a commit that referenced this pull request

Jan 14, 2021
* In PR #7918, the option MEMFS_APPEND_TO_TYPED_ARRAYS=0 was removed, dropping the support for using regular JS Arrays to back MEMFS file storage. In this PR, complete the removal of old code that related to JS Array backing, since all files are now typed array backed.
* Migrate tests to use the MEMFS typed array API.
* Fix tests.

Read the original on github.com ↗