5 releases
0.2.1+2.16 | Sep 28, 2024 |
---|---|
0.2.0+2.15 | Apr 7, 2024 |
0.1.2+2.13 | Sep 18, 2023 |
0.1.1+2.10 | Aug 2, 2023 |
0.1.0+2.10 | Aug 2, 2023 |
#251 in Memory management
7KB
92 lines
TCMalloc-rs
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;
No runtime deps
~0–1.9MB
~37K SLoC