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

Function sort_i32_LSD_radix

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

Source from the content-addressed store, hash-verified

38
39#[bench]
40fn sort_i32_LSD_radix(b: &mut Bencher) {
41 let mut nums: Vec<i32> = (0..1000).rev().collect();
42 b.iter(|| {
43 LSD::sort_i32(&mut nums);
44 });
45}
46
47#[bench]
48fn sort_str_MSD_radix(b: &mut Bencher) {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected