Skip to content

Commit

Permalink
unused
Browse files Browse the repository at this point in the history
  • Loading branch information
a10y committed Dec 18, 2024
1 parent 5880b99 commit 03a568a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions encodings/fastlanes/src/bitpacking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,20 +241,6 @@ impl VariantsVTable<BitPackedArray> for BitPackedEncoding {
}

impl PrimitiveArrayTrait for BitPackedArray {}
// impl PrimitiveArrayTrait for BitPackedArray {
// fn ptype(&self) -> PType {
// // NOTE: we use the fastlanes::BitPack provided kernels for compute with BitPackedArray,
// // which is only implemented for unsigned integer types.
// // As a precondition of building a new BitPackedArray, we ensure that it may only
// // contain non-negative values. Thus, it is always safe to read the packed data
// // reinterpreted as the unsigned variant of any integer type.
// if let DType::Primitive(ptype, _) = self.dtype() {
// ptype.to_unsigned()
// } else {
// unreachable!()
// }
// }
// }

#[cfg(test)]
mod test {
Expand Down

0 comments on commit 03a568a

Please sign in to comment.