Skip to content

Commit f8d43e8

Browse files
authored
Switch to mimalloc from jemalloc (#88)
1 parent 0e184d3 commit f8d43e8

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

Cargo.lock

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ datafusion = { version = "^52.2.0", features = [
3131
futures = "^0.3.32"
3232
glob = "^0.3.3"
3333
humansize = "^2.1.3"
34+
mimalloc = { version = "^0.1.48", features = ["v3"] }
3435
minijinja = "^2.17.1"
3536
num-format = "^0.4.4"
3637
owo-colors = "^4.3.0"

src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
use anyhow::Result;
22
use clap::Parser;
3+
use mimalloc::MiMalloc;
34
use silk_chiffon::{Cli, Commands, commands, default_thread_budget};
45

6+
#[global_allocator]
7+
static GLOBAL: MiMalloc = MiMalloc;
8+
59
fn main() -> Result<()> {
610
let cli = Cli::parse();
711

0 commit comments

Comments
 (0)