Expand description
Sets jemalloc as the #[global_allocator] on targets that support it.
Just add tikv-jemallocator-global as a dependency:
# Cargo.toml
[dependencies]
tikv-jemallocator-global = "0.7"and jemalloc will be used as the #[global_allocator] on targets that
support it.
To unconditionally set jemalloc as the #[global_allocator] enable the
force_global_jemalloc cargo feature.
Staticsยง
- JEMALLOC
- Sets
jemallocas the#[global_allocator].