summaryrefslogtreecommitdiff
path: root/counts.c
Commit message (Collapse)AuthorAgeFilesLines
* Fill buffer with smallest elementsBobby Bingham2014-11-021-1/+1
| | | | | | This avoids the need to distribute the buffer through the whole array at the end. It also allows us to skips most of the work for sorted and reverse-sorted inputs.
* Add instrumentationBobby Bingham2014-10-291-0/+38
Track the number of comparisons, swaps, and rotations performed in each part of the sorting algorithm.