Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ quf
Function
quf
benches/common.rs:20–25 ·
view source on GitHub ↗
(b: &mut Bencher)
Source
from the content-addressed store, hash-verified
18
19
#[bench]
20
fn quf(b: &mut Bencher) {
21
b.iter(|| {
22
let i = MEDIUM_UF;
23
let _uf = QuickUnionUF::from_str(i).unwrap();
24
});
25
}
26
27
#[bench]
28
fn uf(b: &mut Bencher) {
Callers
nothing calls this directly
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected