fn get_disjoint_check_valid<I: GetDisjointMutIndex, const N: usize>(
indices: &[I; N],
len: usize,
) -> Result<(), GetDisjointMutError>
Expand description
This checks every index against each other, and against len
.
This will do binomial(N + 1, 2) = N * (N + 1) / 2 = 0, 1, 3, 6, 10, ..
comparison operations.