Daniel Micay <[email protected]> wrote: > ... the default > allocator, which is jemalloc right now. > > Rust's memory management is still under-documented in the manual. I have a question which have been bothering me for a while. I may have misunderstood something basic.
Jemalloc AFAIK synchronizes the allocations, as it is multithread-ready. However does Rust not use task-specific heaps? [I thought that most of the dynamic allocations happen in task-specific heaps.] For those is Jemalloc's synchronization not an unnecessary waste of processor time?
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
