with -g it seems there is some error actually...

This commit is contained in:
Richard Thier 2023-07-01 06:37:20 +02:00
parent 4436c79821
commit 880fb7e991

View File

@ -510,8 +510,8 @@ void measure_single(int n) {
int main(void) {
//int n = 100000000;
//int n = 10000000;
//int n = 1000000;
int n = 100000;
int n = 1000000;
//int n = 100000;
//int n = 10000;
//int n = 100;
//int n = 10;
@ -574,10 +574,12 @@ int main(void) {
measure(inputtype, "magbuck2", [&] { magyar_bucket_sort2(&w[0], w.size()); });
assert(w == expected);
*/
//w = {10, 20, 5, 200, 42, 41, 43, 5};
/*
w = v;
//w = {10, 20, 5, 200, 42, 41, 43, 5};
measure(inputtype, "qsmine", [&] { thier_quicksort(&w[0], w.size()); });
assert(w == expected);
*/
w = v;
measure(inputtype, "thier", [&] { thiersort_uintkey8(&w[0], w.size()); });
if(w != expected) {