A drop-in GlobalAlloc
implementation using tcmalloc
from gperftools.
Keep in mind that as of today, GlobalAlloc
is only available in nightly,
hidden behind the global_allocator
feature flag.
```rust
extern crate tcmalloc;
use tcmalloc::TCMalloc;
static GLOBAL: TCMalloc = TCMalloc; ```
Also note that you can only define one global allocator per crate.