Skip to content

Commit

Permalink
GCD
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn committed Mar 3, 2024
1 parent b59b7cd commit e89c5de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions fastlanez-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
5 changes: 1 addition & 4 deletions vortex-fastlanes/src/bitpacking/compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,7 @@ fn bitpack(parray: &PrimitiveArray, bit_width: usize) -> ArrayRef {
PrimitiveArray::from_vec(bytes).boxed()
}

fn bitpack_primitive<T: NativePType>(array: &[T], bit_width: usize) -> Vec<u8>
where
T: TryBitPack,
{
fn bitpack_primitive<T: NativePType + TryBitPack>(array: &[T], bit_width: usize) -> Vec<u8> {
// How many fastlanes vectors we will process.
let num_chunks = (array.len() + 1023) / 1024;

Expand Down
2 changes: 1 addition & 1 deletion vortex-fastlanes/src/for/compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e89c5de

Please sign in to comment.