adamschackart / AXLE3D

A modular collection of game libraries for Python and/or C++.
20 stars 1 forks source link

ae_sort: ae_sort function #16

Closed adamschackart closed 6 years ago

adamschackart commented 7 years ago

Much like ae_random_u32, there should be one main sort function that uses the best general-purpose sorting algorithm we have. At the moment we should do some hacky stuff to be able to use qsort with a context (setting internal inner comparator func and context globals, blegh).

adamschackart commented 7 years ago

It might also be nice to have out-of-place sort functions there (ae_sorted).