benchmark: update filter

This commit is contained in:
Daniel Langbein 2024-12-17 21:24:54 +00:00
parent cca298709f
commit b1df4366e6
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -12,6 +12,15 @@ public class Filter {
public static boolean isFiltered(DataEnum d, SortEnum s) {
if (s == SortEnum.QUICK_SORT) {
return List.of(
DataEnum.RANDOM_INTEGERS_300M,
DataEnum.ASCENDING_INTEGERS_300M,
DataEnum.DESCENDING_INTEGERS_250M,
DataEnum.ASCENDING_RUNS_1M
).contains(d);
}
if (s == SortEnum.MERGE_SORT) {
return List.of(
DataEnum.RANDOM_INTEGERS_300M,