From e89c5de327c1b1e2087b4368a40b1f424459fbd5 Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Sat, 2 Mar 2024 23:43:46 +0000 Subject: [PATCH] GCD --- fastlanez-sys/src/lib.rs | 1 + vortex-fastlanes/src/bitpacking/compress.rs | 5 +---- vortex-fastlanes/src/for/compress.rs | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/fastlanez-sys/src/lib.rs b/fastlanez-sys/src/lib.rs index 211e3eebc0..001195c6e1 100644 --- a/fastlanez-sys/src/lib.rs +++ b/fastlanez-sys/src/lib.rs @@ -14,6 +14,7 @@ * limitations under the License. */ +#![allow(incomplete_features)] #![feature(generic_const_exprs)] #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] diff --git a/vortex-fastlanes/src/bitpacking/compress.rs b/vortex-fastlanes/src/bitpacking/compress.rs index f1298dbb37..877e0757bd 100644 --- a/vortex-fastlanes/src/bitpacking/compress.rs +++ b/vortex-fastlanes/src/bitpacking/compress.rs @@ -135,10 +135,7 @@ fn bitpack(parray: &PrimitiveArray, bit_width: usize) -> ArrayRef { PrimitiveArray::from_vec(bytes).boxed() } -fn bitpack_primitive(array: &[T], bit_width: usize) -> Vec -where - T: TryBitPack, -{ +fn bitpack_primitive(array: &[T], bit_width: usize) -> Vec { // How many fastlanes vectors we will process. let num_chunks = (array.len() + 1023) / 1024; diff --git a/vortex-fastlanes/src/for/compress.rs b/vortex-fastlanes/src/for/compress.rs index 29edcc6060..3613f5f8a7 100644 --- a/vortex-fastlanes/src/for/compress.rs +++ b/vortex-fastlanes/src/for/compress.rs @@ -22,7 +22,7 @@ use vortex::compress::{CompressConfig, CompressCtx, Compressor, EncodingCompress use vortex::match_each_integer_ptype; use vortex::stats::Stat; -use crate::{BitPackedEncoding, FoRArray, FoREncoding}; +use crate::{FoRArray, FoREncoding}; impl EncodingCompression for FoREncoding { fn compressor(