Function bcmp::unique_strings [] [src]

pub fn unique_strings(
    first: &[u8],
    second: &[u8],
    algo_spec: AlgoSpec
) -> Vec<(usize, usize)>

Find the list of unique strings from the second byte slice which can't be found in the first.

The AlgoSpec highly influence the result because it determines the minimal length of a match. The longer is the minimal length of a match, the more unique strings will be found.