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

Function small_quick

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

Source from the content-addressed store, hash-verified

141
142#[bench]
143fn small_quick(b: &mut Bencher) {
144 b.iter(|| {
145 let mut numbs = [1, 2, 4, 8, 9, 9, 13, 17, 22];
146 sort::quick::sort(&mut numbs);
147 });
148}
149
150#[bench]
151fn large_quick(b: &mut Bencher) {

Callers

nothing calls this directly

Calls 2

sortFunction · 0.50
iterMethod · 0.45

Tested by

no test coverage detected