https://github.com/kripken/emscripten/wiki/Split-Memory
In that mode, memory allocation is basically like in C and C++: each block can be allocated and freed independently.
Of course, this does have a performance cost, so it's a tradeoff.
https://github.com/kripken/emscripten/wiki/Split-Memory
In that mode, memory allocation is basically like in C and C++: each block can be allocated and freed independently.
Of course, this does have a performance cost, so it's a tradeoff.