MCPcopy Create free account
hub / github.com/douchuan/algorithm / small_selection_tree_selection

Function small_selection_tree_selection

benches/sort.rs:204–209  ·  view source on GitHub ↗
(b: &mut Bencher)

Source from the content-addressed store, hash-verified

202
203#[bench]
204fn small_selection_tree_selection(b: &mut Bencher) {
205 b.iter(|| {
206 let numbs = [1, 2, 4, 8, 9, 9, 13, 17, 22];
207 sort::tree_selection::sort_desc(&numbs);
208 });
209}
210
211#[bench]
212fn large_selection_sort(b: &mut Bencher) {

Callers

nothing calls this directly

Calls 2

sort_descFunction · 0.85
iterMethod · 0.45

Tested by

no test coverage detected