Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ fib_classic_recursive
Function
fib_classic_recursive
benches/dp.rs:24–26 ·
view source on GitHub ↗
(b: &mut Bencher)
Source
from the content-addressed store, hash-verified
22
23
#[bench]
24
fn fib_classic_recursive(b: &mut Bencher) {
25
b.iter(|| dp::fib::fib_classic_recursive(BENCH_N));
26
}
27
28
#[bench]
29
fn fib_cache_result(b: &mut Bencher) {
Callers
nothing calls this directly
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected