(b: &mut Bencher)
| 64 | |
| 65 | #[bench] |
| 66 | fn MSD_worst_case(b: &mut Bencher) { |
| 67 | // examines just 1 char to distinguish among the keys |
| 68 | let mut words = vec!["1DNB377"; 26]; |
| 69 | b.iter(|| { |
| 70 | MSD::sort(&mut words); |
| 71 | }); |
| 72 | } |
| 73 | |
| 74 | #[bench] |
| 75 | fn MSD_best_case(b: &mut Bencher) { |