andrewrk / genesis

Genesis Digital Audio Workstation
http://genesisdaw.org
Other
193 stars 20 forks source link

use a better sort algorithm in the utility method #15

Closed andrewrk closed 9 years ago

andrewrk commented 9 years ago

util.hpp:

template<typename T, int(*Comparator)(T, T)>
void insertion_sort(T * in_place_list, int size) {

could do better with optimized merge sort probably.