Function vortex_fastlanes::bitpack_encode_unchecked
source · pub unsafe fn bitpack_encode_unchecked(
array: PrimitiveArray,
bit_width: u8,
) -> VortexResult<BitPackedArray>
Expand description
Bitpack an array into the specified bit-width without checking statistics.
§Safety
It is the caller’s responsibility to ensure that all values in the array can lossless pack into the specified bit-width.
Failure to do so will result in data loss.