Skip to content

Commit

Permalink
remove compress_taxi_data changes
Browse files Browse the repository at this point in the history
  • Loading branch information
danking committed Sep 19, 2024
1 parent e6f8616 commit 6bea128
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bench-vortex/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6bea128

Please sign in to comment.