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

Function make_changes_iter

benches/dp.rs:16–19  ·  view source on GitHub ↗
(b: &mut Bencher)

Source from the content-addressed store, hash-verified

14
15#[bench]
16fn make_changes_iter(b: &mut Bencher) {
17 let coins = vec![1, 2, 5];
18 b.iter(|| dp::coin::make_change_iter(&coins, MAKE_CHANGES_AMOUNT));
19}
20
21static BENCH_N: usize = 20;
22

Callers

nothing calls this directly

Calls 2

make_change_iterFunction · 0.85
iterMethod · 0.45

Tested by

no test coverage detected