Use jemalloc
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user