summaryrefslogtreecommitdiff
path: root/counts.h
Commit message (Collapse)AuthorAgeFilesLines
* Fill buffer with smallest elementsBobby Bingham2014-11-021-1/+2
| | | | | | 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/+23
Track the number of comparisons, swaps, and rotations performed in each part of the sorting algorithm.