smallest tune
This commit is contained in:
parent
38ac7a8a51
commit
21c9d52138
@ -114,7 +114,7 @@ inline void sch_insertion_sort(uint32_t *arr, int low, int high) {
|
|||||||
/* Dual heapsort5 probably helps insertion speed */
|
/* Dual heapsort5 probably helps insertion speed */
|
||||||
/* This is sane, because insertion benefits from */
|
/* This is sane, because insertion benefits from */
|
||||||
/* data being "basically nearly sorted" as input */
|
/* data being "basically nearly sorted" as input */
|
||||||
if(high + 1 - low > 10) {
|
if(high - low > 10) {
|
||||||
sch_hsort5(&arr[0]);
|
sch_hsort5(&arr[0]);
|
||||||
sch_hsort5(&arr[5]);
|
sch_hsort5(&arr[5]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user