Function similar::capture_diff_slices_deadline[][src]

pub fn capture_diff_slices_deadline<T>(
    alg: Algorithm,
    old: &[T],
    new: &[T],
    deadline: Option<Instant>
) -> Vec<DiffOp> where
    T: Eq + Hash + Ord

Creates a diff between old and new with the given algorithm capturing the ops.

Works like capture_diff_slices but with an optional deadline.