4 ms·
Correct, if you uncomment //#define cmp(a,b) (*(a) > *(b)) in blitsort.h it'll run about 25% faster. Probably still slower than a native C++ implementation
by scandum 5y ago
Correct, if you uncomment
//#define cmp(a,b) (*(a) > *(b))
in blitsort.h it'll run about 25% faster. Probably still slower than a native C++ implementation since it'll evaluate to (a > b) > 0 rather than (a > b), not sure if the compiler will optimize that.