3 releases
Uses new Rust 2024
new 0.1.2 | May 25, 2025 |
---|---|
0.1.1 | May 25, 2025 |
0.1.0 | May 25, 2025 |
#491 in Memory management
62 downloads per month
Used in tcmalloc-better
3MB
64K
SLoC
TCMalloc better
A Rust wrapper over Google's TCMalloc memory allocator
A drop-in global allocator wrapper around the TCMalloc allocator. TCMalloc is a general-purpose, performance-oriented allocator built by Google.
Usage
use tcmalloc_better::TCMalloc;
#[global_allocator]
static GLOBAL: TCMalloc = TCMalloc;
Requirements
A C++ compiler is required for building TCMalloc with cargo.