mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-22 19:55:44 +01:00
benchmark: exclude merge sort
This commit is contained in:
parent
b730c34ddd
commit
a7a6f9e246
@ -5,7 +5,7 @@ import de.uni_marburg.powersort.benchmark.NaturalOrder;
|
|||||||
|
|
||||||
public enum SortEnum {
|
public enum SortEnum {
|
||||||
// BUBBLE_SORT,
|
// BUBBLE_SORT,
|
||||||
MERGE_SORT,
|
// MERGE_SORT,
|
||||||
TIM_SORT,
|
TIM_SORT,
|
||||||
FINN_SORT,
|
FINN_SORT,
|
||||||
ASORT;
|
ASORT;
|
||||||
@ -13,7 +13,7 @@ public enum SortEnum {
|
|||||||
public SortImpl getSortImpl() {
|
public SortImpl getSortImpl() {
|
||||||
return switch (this) {
|
return switch (this) {
|
||||||
// case BUBBLE_SORT -> array -> BubbleSort.sort(array, NaturalOrder.INSTANCE);
|
// case BUBBLE_SORT -> array -> BubbleSort.sort(array, NaturalOrder.INSTANCE);
|
||||||
case MERGE_SORT -> array -> MergeSort.legacyMergeSort(array, NaturalOrder.INSTANCE);
|
// case MERGE_SORT -> array -> MergeSort.legacyMergeSort(array, NaturalOrder.INSTANCE);
|
||||||
case TIM_SORT -> array -> TimSort.sort(array, 0, array.length, NaturalOrder.INSTANCE, null, 0, 0);
|
case TIM_SORT -> array -> TimSort.sort(array, 0, array.length, NaturalOrder.INSTANCE, null, 0, 0);
|
||||||
case FINN_SORT -> array -> FinnSort.sort(array, NaturalOrder.INSTANCE);
|
case FINN_SORT -> array -> FinnSort.sort(array, NaturalOrder.INSTANCE);
|
||||||
case ASORT -> array -> ASort.sort(array, NaturalOrder.INSTANCE);
|
case ASORT -> array -> ASort.sort(array, NaturalOrder.INSTANCE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user