Skip to content

Commit b4fe5af

Browse files
committed
Unroll sort up to 5 columns
1 parent 5bf8804 commit b4fe5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrow-ord/src/sort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ pub fn lexsort_to_indices(
756756
// Sort a fixed number of columns using FixedLexicographicalComparator
757757
fn sort_fixed_column<const N: usize>(
758758
columns: &[SortColumn],
759-
value_indices: &mut Vec<usize>,
759+
value_indices: &mut [usize],
760760
len: usize,
761761
) -> Result<(), ArrowError> {
762762
let lexicographical_comparator = FixedLexicographicalComparator::<N>::try_new(columns)?;

0 commit comments

Comments
 (0)