Skip to main content

compute_diff_with

Function compute_diff_with 

Source
pub fn compute_diff_with<T, F>(
    source: &[T],
    target: &[T],
    equalizer: F,
) -> Vec<Change>
where T: Eq + Hash, F: Fn(&T, &T) -> bool,
Expand description

Computes the diff between two slices using HistogramDiff and a custom equalizer.