quickselect_inline
Statistics::Median
I did a bit of Profiling and made the quickselect and median algorithms use the best of option for the respective input size.