Function sort_it::algorithms::merge_sort::merge_sort_timed
source · [−]pub fn merge_sort_timed<T>(arr: Vec<T>) -> (Vec<T>, Duration) where
T: PartialEq + PartialOrd + Clone + Copy,
Expand description
The merge sort algorithm but timed.
Sorts the given Vec
and returns the result and the Duration
of the process.