Experiment to provide a shared sorting library with a C API but speed of C++ std::sort
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
COPYING
cppsort.cpp
csort.c
meson.build
readme.md
sorter.cpp
sorter.h
sorttest.c

readme.md

Sorting speed experiment

An experiment to see if you can provide a shared library with a C API that does sorting as fast as C++'s std::sort.

Times:

qsort from C stdlib: 14.8s
std::sort from C++:   8.5s
live codegen:         8.8s