MCPcopy Create free account
hub / github.com/NthTensor/Forte / join_no_overhead

Function join_no_overhead

benches/fork_join.rs:44–52  ·  view source on GitHub ↗
(a: A, b: B)

Source from the content-addressed store, hash-verified

42#[divan::bench(args = nodes())]
43fn baseline(bencher: Bencher, nodes: (usize, usize)) {
44 fn join_no_overhead<A, B, RA, RB>(a: A, b: B) -> (RA, RB)
45 where
46 A: FnOnce() -> RA + Send,
47 B: FnOnce() -> RB + Send,
48 RA: Send,
49 RB: Send,
50 {
51 (a(), b())
52 }
53
54 #[inline]
55 fn sum(node: &Node) -> u64 {

Callers 1

sumFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected