3 ms·
Well, anything is possible because ... human ingenuity. However, Rust currently statically links in jemalloc - even when building a dynamic shared library. The
by markus2012 12y ago
Well, anything is possible because ... human ingenuity.
However, Rust currently statically links in jemalloc - even when building a dynamic shared library. There is no easy way around it.
(because someone might ask: rustc -C prefer-dynamic dynamically links everything except jemalloc)
Having said that, I hope jemalloc gets linked externally soon so my code doesn't have to pay the memory penalty in each of my memory-constrained threads.