Skip to main content

Crate polkadot_jemalloc_shim

Crate polkadot_jemalloc_shim 

Source
Expand description

Shim crate to enable jemalloc-allocator feature for Polkadot crates.

Because there doesn’t exist any easier way right now, we need an entire crate to handle jemalloc enabling/disabling. This way we can enable it by default on Linux, but have it optional on all other OSes.