Function reference

Source
pub fn reference(
    pattern: &str,
    text: &str,
    max_distance: usize,
    allow_transpositions: bool,
    debug: bool,
) -> BitapResult
Expand description

The reference implementation of the bitap algorithm.