Skip to content

Commit 493081f

Browse files
committed
fix performance regression
1 parent c90e63d commit 493081f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

solitaire-solver/src/board.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl<T: Radixable<U33>> Dispatcher<T, U33> for U33 {
7070
fn voracious_mt_sort(&self, arr: &mut [T], thread_n: usize) {
7171
if arr.len() <= 256 {
7272
arr.sort_unstable_by(|a, b| a.partial_cmp(b).unwrap());
73-
} else if arr.len() < 5_000_000 {
73+
} else if arr.len() < 5_000_000_000 {
7474
peeka_sort(arr, 8, 650_000, thread_n);
7575
} else {
7676
// Switch to regions sort algo

0 commit comments

Comments
 (0)