3 ms·
Is there a chance / goal for ralloc to become the default allocator for Rust itself?
by shmerl 5y ago
Is there a chance / goal for ralloc to become the default allocator for Rust itself?
- dralley 5y agoRust uses the platform-default allocator by default for good reasons.
- shmerl 5y agoWhat are those? For instance jemalloc is generally better than glibc malloc, so platform default isn't necessarily the best choice.
- chrismorgan 5y agohttps://blog.rust-lang.org/2019/01/17/Rust-1.32.0.html#jemalloc-is-removed-by-default https://blog.rust-lang.org/2019/01/17/Rust-1.32.0.html#jemal...
- pornel 5y agoRust has stopped using jemalloc by default, because often it wasn't noticeably faster, but users did mind additional size it added to executables.