4 ms·
Yeah I've used malloc+free+forget as well to allocate multi-megabyte strings (JSON encoded objects) to exchange data between JS and rust. Seems to work a treat
by inferiorhuman 9y ago
Yeah I've used malloc+free+forget as well to allocate multi-megabyte strings (JSON encoded objects) to exchange data between JS and rust. Seems to work a treat.