1 2 3 4 5 6 7 8 9 10 11 12 13
use rdst::RadixSort; fn main() { let mut inputs = Vec::new(); inputs.extend_from_slice(&[55, 22, 73, 4, 89, 0, 100, 3]); inputs .radix_sort_builder() .with_parallel(false) .with_single_threaded_tuner() .sort(); println!("{:?}", &inputs[..]); }