Use jemalloc

This commit is contained in:
Erik Johnston
2019-03-19 13:32:29 +00:00
parent b7c96ee7ac
commit 2126625ef2
3 changed files with 39 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
extern crate clap;
extern crate fallible_iterator;
extern crate indicatif;
extern crate jemallocator;
extern crate postgres;
extern crate rand;
extern crate rayon;
@@ -29,6 +30,9 @@ extern crate string_cache;
mod compressor;
mod database;
#[global_allocator]
static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc;
use compressor::Compressor;
use database::PGEscapse;