pub fn quorum_from_slice<T>(slice: &[T]) -> u32
Compute the quorum size for a given slice.
Panics if the slice length is greater than u32::MAX.