/tcmalloc-rs

Rust FFI bindings to TCMalloc

Primary LanguageRustApache License 2.0Apache-2.0

TCMalloc-rs

crates.io

Rust FFI bindings to TCMalloc.

Dependencies

libstdc++, libclang and libunwind must be installed on the system.

How to Use

use tcmalloc2::TcMalloc;

#[global_allocator]
static GLOBAL: TcMalloc = TcMalloc;