From 9294e72bb8cfad8b4855347d1ed140801e1ba9ec Mon Sep 17 00:00:00 2001 From: jirigav Date: Wed, 26 Jun 2024 15:25:22 +0200 Subject: [PATCH] fmt --- src/autotest.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/autotest.rs b/src/autotest.rs index c91790c..e548fd4 100644 --- a/src/autotest.rs +++ b/src/autotest.rs @@ -6,11 +6,10 @@ use std::time::Instant; const GB: usize = 1000000000; const MB: usize = 1000000; - fn choose_k(block_size: usize, data_size: usize) -> usize { - if data_size <= 10*MB && block_size < 128{ + if data_size <= 10 * MB && block_size < 128 { 4 - } else if data_size < 2*GB && block_size < 256{ + } else if data_size < 2 * GB && block_size < 256 { 3 } else { 2