Searched refs:curr_distances (Results 1 – 1 of 1) sorted by relevance
276 let mut curr_distances: Vec<usize> = Vec::with_capacity(b_len + 1); in osa_distance() localVariable284 curr_distances.push(0); in osa_distance()288 curr_distances[0] = i + 1; in osa_distance()292 curr_distances[j + 1] = min(curr_distances[j] + 1, in osa_distance()297 curr_distances[j + 1] = min(curr_distances[j + 1], in osa_distance()305 prev_distances.clone_from(&curr_distances); in osa_distance()309 curr_distances[b_len] in osa_distance()