2 ms·I had to do something like this a year or so ago -- built a malloc in js for managing WebGL memory blocks.by hughw 10y agoI had to do something like this a year or so ago -- built a malloc in js for managing WebGL memory blocks.