mimalloc_rust icon indicating copy to clipboard operation
mimalloc_rust copied to clipboard

WASM?

Open indo-dev-0 opened this issue 5 years ago • 2 comments

Any chance of getting an example of using MiMalloc to replace wee_alloc?

indo-dev-0 avatar Sep 28 '20 00:09 indo-dev-0

I could use this as well

Currently get this error when I run wasm-pack build

thread 'main' panicked at 'target family not set: NotPresent', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libmimalloc-sys-0.1.21/build.rs:46:44

Kevingislason avatar Jun 07 '21 04:06 Kevingislason

Seconding this.

Rust WASM currently uses a dlmalloc port, which isn't exactly the best allocator. mimalloc would probably help speed up allocation heavy wasm code quite a bit.

theduke avatar Aug 10 '21 08:08 theduke