rchillyard / The-repository-formerly-known-as

2 stars 12 forks source link

32 timsort first pass #49

Closed rchillyard closed 4 years ago

rchillyard commented 4 years ago

Instead of using timsort in first pass, we offer an option to use mergesort. The merge sort version is intermediate in performance between the System sort and HuskySort using IntroSort. However, when arrays are known to be partially ordered, the System sort (Timsort) is clearly superior to either HuskySort variation.