This is a simple project, designed to demonstrate all of the main comparison sorts.
If you'd like to implement another type of sort, please send me a pull!
These are supposed to be academically instructive and as easy as possible to understand, so unneccesarily complex optimisations might be out.
Please take a look at how the other sorts work in order to code your own.
If you'd like to improve the main application, well that is fine too!
Regards, Matt.
$ time ./sorts -cm -r 10000000 -a merge
Comparisons: 224570926
Moves: 230898433
real 0m4.117s
user 0m3.973s
sys 0m0.137s
Copyright 2012 Matthew Iversen.
C Comparison Sorts by Matthew Iversen is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Please see the LICENSE file for the full license of this code.