From 6bea1287781179534826eb8bc4fd0d65ba720f46 Mon Sep 17 00:00:00 2001 From: Daniel King Date: Thu, 19 Sep 2024 15:42:30 -0400 Subject: [PATCH] remove compress_taxi_data changes --- bench-vortex/src/lib.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bench-vortex/src/lib.rs b/bench-vortex/src/lib.rs index eb3e4c01f8..541e2d8609 100644 --- a/bench-vortex/src/lib.rs +++ b/bench-vortex/src/lib.rs @@ -184,14 +184,11 @@ pub fn fetch_taxi_data() -> Array { .into_array() } -pub fn compress_taxi_data() -> (usize, Array) { +pub fn compress_taxi_data() -> Array { let uncompressed = fetch_taxi_data(); let compressor: &dyn CompressionStrategy = &SamplingCompressor::new(COMPRESSORS.clone()); - let uncompressed_size = uncompressed.nbytes(); - let compressed = compressor.compress(&uncompressed).unwrap(); - - (uncompressed_size, compressed) + compressor.compress(&uncompressed).unwrap() } pub struct CompressionRunStats {