| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Track the number of comparisons, swaps, and rotations performed in each
part of the sorting algorithm.
|
|
|
|
|
|
|
| |
The quicksort-killer testcase will require more global state, unless we go
to the effort of implementing qsort_r versions of all the sorting
algorithms. Since we're not doing that, we'll simply make the global state
explicit.
|
|
This is in preparation for adding an implementation of the quicksort-killer
test case, which requires a custom comparison function rather than just a
custom imput-generation function.
|