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

Function gen_asc_data

benches/sort.rs:237–239  ·  view source on GitHub ↗
(len: usize)

Source from the content-addressed store, hash-verified

235}
236
237pub fn gen_asc_data(len: usize) -> Vec<i32> {
238 (0..len as i32).collect()
239}
240
241pub fn gen_desc_data(len: usize) -> Vec<i32> {
242 let mut data = gen_asc_data(len);

Callers 5

large_sorted_asc_quickFunction · 0.85
gen_desc_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected