summaryrefslogtreecommitdiff
path: root/sorters.c
blob: 43a3369da92b2f7d446ce490769bcc8702271a88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stddef.h>
#include <stdlib.h>

#include "sorters.h"

const struct sorter sorters[] = {
	{ .name = "freebsd",         .func = freebsd_qsort   },
	{ .name = "glibc quicksort", .func = glibc_quicksort },
	{ .name = "glibc mergesort", .func = glibc_mergesort },
	{ .name = "musl",            .func = musl_qsort      },
	{ .name = "wikisort",        .func = wikisort        },
	{ .name = "wikisort (ref)",  .func = wikisort_ref    },
	{ .name = "grailsort",       .func = grailsort       },
	{ .name = "grailsort (ref)", .func = grailsort_ref   },
	{ .name = "system",          .func = qsort           },
	{ 0 }
};