// Find the length of the shared leading sequence of two numeric ID streams before producing a diff. pub fn common_prefix_len(left: vector, right: vector) -> i64 { let mut i = 0; while i