From 46f0ffc1e19d507217dc90095b102b80c133a3dd Mon Sep 17 00:00:00 2001 From: abbycin Date: Mon, 4 Aug 2025 18:31:50 +0800 Subject: [PATCH] update mace dep --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- src/main.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 662c2f9..f76b287 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -192,7 +192,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "io" version = "0.0.2" -source = "git+https://git.o2c.fun/abby/mace.git?branch=task-63#cb9664d141a7254d3d036de8852b76f54b2b8109" +source = "git+https://git.o2c.fun/abby/mace.git?branch=task-64#0a5ebdbdca9e1097da83e600a788288bfa4f6b85" dependencies = [ "libc", ] @@ -236,8 +236,8 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "mace" -version = "0.0.8" -source = "git+https://git.o2c.fun/abby/mace.git?branch=task-63#cb9664d141a7254d3d036de8852b76f54b2b8109" +version = "0.0.9" +source = "git+https://git.o2c.fun/abby/mace.git?branch=task-64#0a5ebdbdca9e1097da83e600a788288bfa4f6b85" dependencies = [ "crc32c", "crossbeam-epoch", diff --git a/Cargo.toml b/Cargo.toml index 8f4bb26..b7ee3d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2024" [dependencies] -mace = { git = "https://git.o2c.fun/abby/mace.git", branch = "task-63" } +mace = { git = "https://git.o2c.fun/abby/mace.git", branch = "task-64" } clap = { version = "4.5.42", features = ["derive"] } rand = "0.9.2" diff --git a/src/main.rs b/src/main.rs index 0c2f59b..f260b2d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,7 +27,7 @@ struct Args { #[arg(short = 'i', long, default_value = "10000")] iterations: usize, - #[arg(short = 'r', long, default_value = "50")] + #[arg(short = 'r', long, default_value = "30")] insert_ratio: u8, #[arg(long, default_value = "false")]