(a: A, b: B)
| 42 | #[divan::bench(args = nodes())] |
| 43 | fn 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 { |