Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion encodings/fastlanes/benches/bitpack_compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fn page_aligned(array: BitPackedArray) -> BitPackedArray {
ptype,
parts.validity,
parts.patches,
parts.bit_width,
parts.widths,
parts.len,
parts.offset,
)
Expand Down
2 changes: 1 addition & 1 deletion encodings/fastlanes/benches/bitpack_compare_sweep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fn page_aligned(array: BitPackedArray) -> BitPackedArray {
ptype,
parts.validity,
parts.patches,
parts.bit_width,
parts.widths,
parts.len,
parts.offset,
)
Expand Down
6 changes: 4 additions & 2 deletions encodings/fastlanes/src/bitpacking/array/bitpack_compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ use vortex_mask::Mask;

use crate::BitPacked;
use crate::BitPackedArray;
use crate::ChunkWidths;
use crate::FL_CHUNK_SIZE;
use crate::bitpack_decompress;

pub fn bitpack_to_best_bit_width(
Expand Down Expand Up @@ -84,7 +86,7 @@ pub fn bitpack_encode(
array.ptype(),
array.validity()?,
patches,
bit_width,
ChunkWidths::uniform(bit_width, array.len().div_ceil(FL_CHUNK_SIZE)).into_array(),
array.len(),
0,
)?;
Expand Down Expand Up @@ -113,7 +115,7 @@ pub unsafe fn bitpack_encode_unchecked(
array.ptype(),
array.validity()?,
None,
bit_width,
ChunkWidths::uniform(bit_width, array.len().div_ceil(FL_CHUNK_SIZE)).into_array(),
array.len(),
0,
)
Expand Down
Loading
Loading