Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Well, that's what I did. Why should I think (or how should I realize) that it's bad? ... P.S. it occurs to me after a few minutes that I'm testing and choosing every time
qsort_r
callscmp
and not just the one time. If that's the only reason, I guess it's bad enough.I chose not to put the comparison there because, by doing that, it executes that instruction on every loop iteration, which immensely slows down the total run time. Although there are 2 more lines of code, the actualy number of times that comparison is made is much, much less.
Well, I was aiming for "horrendous" so mission accomplished ;-)