9 releases
Uses new Rust 2024
| 0.3.2+2.17.2 | Sep 7, 2025 |
|---|---|
| 0.3.1+2.17.1 | Aug 14, 2025 |
| 0.2.2+2.16 | Feb 20, 2025 |
| 0.2.1+2.16 | Sep 28, 2024 |
| 0.1.1+2.10 | Aug 2, 2023 |
#499 in Memory management
289 downloads per month
10KB
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