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

Function large_quick_3way

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

Source from the content-addressed store, hash-verified

158
159#[bench]
160fn large_quick_3way(b: &mut Bencher) {
161 let data = gen_random_data(DATA_LEN);
162 b.iter(|| {
163 let mut numbs = data.clone();
164 Quick3Way::sort(&mut numbs);
165 });
166}
167
168#[bench]
169fn large_sorted_asc_quick(b: &mut Bencher) {

Callers

nothing calls this directly

Calls 4

gen_random_dataFunction · 0.85
cloneMethod · 0.80
sortFunction · 0.50
iterMethod · 0.45

Tested by

no test coverage detected