Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ sqrt_binary_search
Function
sqrt_binary_search
benches/math.rs:15–17 ·
view source on GitHub ↗
(b: &mut Bencher)
Source
from the content-addressed store, hash-verified
13
14
#[bench]
15
fn sqrt_binary_search(b: &mut Bencher) {
16
b.iter(|| math::mysqrt::sqrt_binary_search(X));
17
}
18
19
#[bench]
20
fn sqrt_newton(b: &mut Bencher) {
Callers
nothing calls this directly
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected