schwab: finetuned
This commit is contained in:
parent
0900fece84
commit
38ac7a8a51
@ -118,18 +118,6 @@ inline void sch_insertion_sort(uint32_t *arr, int low, int high) {
|
|||||||
sch_hsort5(&arr[0]);
|
sch_hsort5(&arr[0]);
|
||||||
sch_hsort5(&arr[5]);
|
sch_hsort5(&arr[5]);
|
||||||
}
|
}
|
||||||
if(high + 1 - low > 20) {
|
|
||||||
sch_hsort5(&arr[10]);
|
|
||||||
sch_hsort5(&arr[15]);
|
|
||||||
}
|
|
||||||
if(high + 1 - low > 30) {
|
|
||||||
sch_hsort5(&arr[20]);
|
|
||||||
sch_hsort5(&arr[25]);
|
|
||||||
}
|
|
||||||
if(high + 1 - low > 40) {
|
|
||||||
sch_hsort5(&arr[30]);
|
|
||||||
sch_hsort5(&arr[35]);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* "Real" insertion sort part comes here */
|
/* "Real" insertion sort part comes here */
|
||||||
for(int i = low + 1; i <= high; ++i) {
|
for(int i = low + 1; i <= high; ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user