tcmalloc

A drop-in GlobalAlloc implementation using tcmalloc from gperftools.

Travis badge crates.io badge

Usage

Requires Rust 1.28+

```rust extern crate tcmalloc;

use tcmalloc::TCMalloc;

[global_allocator]

static GLOBAL: TCMalloc = TCMalloc; ```

Also note that you can only define one global allocator per crate.