2 ms·
Yeah, I figured someone would bring up jemalloc. :) As of a few days ago, Rust allocation is pluggable [1]. jemalloc is considered a "feature" in the Cargo sens
by pcwalton 11y ago
Yeah, I figured someone would bring up jemalloc. :) As of a few days ago, Rust allocation is pluggable [1]. jemalloc is considered a "feature" in the Cargo sense which can be turned on and off. (The immediate impetus for this feature work was to use HeapAlloc() on Windows.)
[1]: https://github.com/rust-lang/rust/blob/master/src/liballoc/heap.rs https://github.com/rust-lang/rust/blob/master/src/liballoc/h...