optimize the code

This commit is contained in:
weisd
2025-06-17 15:48:05 +08:00
parent c48ebd5149
commit fa8ac29e76
2 changed files with 69 additions and 95 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ mod tests {
#[test]
fn test_compression_benchmark() {
let sizes = [8 * 1024, 16 * 1024, 64 * 1024, 128 * 1024, 512 * 1024, 1024 * 1024];
let sizes = [128 * 1024, 512 * 1024, 1024 * 1024];
let algorithms = [
CompressionAlgorithm::Gzip,
CompressionAlgorithm::Deflate,