From 5425d762550be0025441cb944f8cdcc8275c6b89 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Thu, 16 Apr 2020 11:44:31 +0200 Subject: [PATCH] Remove usage of jemallocator It is PITA to package it in Fedora, so we will have to have fd a bit slower for now. Signed-off-by: Igor Raits --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index fb64e7a..f8e83db 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,11 +29,6 @@ use crate::filter::{SizeFilter, TimeFilter}; use crate::options::Options; use crate::regex_helper::pattern_has_uppercase_char; -// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481 -#[cfg(all(not(windows), not(target_env = "musl")))] -#[global_allocator] -static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; - fn run() -> Result { let matches = app::build_app().get_matches_from(env::args_os()); -- 2.26.0