Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jirigav committed Jun 26, 2024
1 parent 523a951 commit 9294e72
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/autotest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9294e72

Please sign in to comment.