pub fn simd_find_first_difference(a: &[u8], b: &[u8]) -> Option<usize>Expand description
Find the first position where two byte slices differ.
Returns None if the slices are equal, or Some(index) of the first difference.
If slices have different lengths, returns the length of the shorter slice
if the common prefix is equal.