Crates.io | tcmalloc2 |
lib.rs | tcmalloc2 |
version | 0.2.1+2.16 |
source | src |
created_at | 2023-08-02 01:07:23.435586 |
updated_at | 2024-09-28 21:45:10.73021 |
description | Rust FFI bindings to tcmalloc |
homepage | https://github.com/yaa110/tcmalloc-rs |
repository | https://github.com/yaa110/tcmalloc-rs |
max_upload_size | |
id | 932354 |
size | 17,382 |
Rust FFI bindings to TCMalloc.
libstdc++
, libclang
and libunwind
must be installed on the system.
use tcmalloc2::TcMalloc;
#[global_allocator]
static GLOBAL: TcMalloc = TcMalloc;