Minor improvements in RepeatedTestRunner
heapsort
Minor refactoring in RepeatedTestRunner
Merge branch 'heapsort'