@@ -11,7 +11,7 @@ use std::ptr;
1111use vortex_buffer:: Buffer ;
1212use vortex_buffer:: BufferMut ;
1313use vortex_mask:: MaskIter ;
14- use vortex_mask:: MaskValuesRef ;
14+ use vortex_mask:: MaskValues ;
1515
1616// This is modeled after the constant with the equivalent name in arrow-rs.
1717pub ( super ) const FILTER_SLICES_SELECTIVITY_THRESHOLD : f64 = 0.8 ;
@@ -20,9 +20,9 @@ pub(super) const FILTER_SLICES_SELECTIVITY_THRESHOLD: f64 = 0.8;
2020// Immutable slice filtering
2121// ---------------------------------------------------------------------------
2222
23- /// Filter a slice by [`MaskValuesRef `], dispatching to the indices or slices path based on a
23+ /// Filter a slice by [`MaskValues `], dispatching to the indices or slices path based on a
2424/// selectivity threshold.
25- pub ( super ) fn filter_slice_by_mask_values < T : Copy > ( slice : & [ T ] , mask : & MaskValuesRef ) -> Buffer < T > {
25+ pub ( super ) fn filter_slice_by_mask_values < T : Copy > ( slice : & [ T ] , mask : & MaskValues ) -> Buffer < T > {
2626 assert_eq ! (
2727 mask. len( ) ,
2828 slice. len( ) ,
@@ -56,14 +56,14 @@ fn filter_slice_by_slices<T: Copy>(slice: &[T], slices: &[(usize, usize)]) -> Bu
5656// Mutable (in-place) slice filtering
5757// ---------------------------------------------------------------------------
5858
59- /// Filter a mutable slice in-place by [`MaskValuesRef `], returning the new valid length.
59+ /// Filter a mutable slice in-place by [`MaskValues `], returning the new valid length.
6060///
6161/// We always use the slices path here because iterating over indices will have strictly more
6262/// loop iterations than slices (more branches), and the overhead of batched `ptr::copy(len)` is
6363/// not that high.
6464pub ( super ) fn filter_slice_mut_by_mask_values < T : Copy > (
6565 slice : & mut [ T ] ,
66- mask : & MaskValuesRef ,
66+ mask : & MaskValues ,
6767) -> usize {
6868 assert_eq ! (
6969 slice. len( ) ,
0 commit comments