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

Function sort_str_quick3strings

benches/strings.rs:57–63  ·  view source on GitHub ↗
(b: &mut Bencher)

Source from the content-addressed store, hash-verified

55
56#[bench]
57fn sort_str_quick3strings(b: &mut Bencher) {
58 let i = SHELLS;
59 let mut words = extract_words(i);
60 b.iter(|| {
61 Quick3String::sort(&mut words);
62 });
63}
64
65#[bench]
66fn MSD_worst_case(b: &mut Bencher) {

Callers

nothing calls this directly

Calls 3

extract_wordsFunction · 0.70
sortFunction · 0.50
iterMethod · 0.45

Tested by

no test coverage detected