Structs§
- Longest
Common Substring - NotSorted
- Error returned by
verify
when a suffix array is not sorted. - Suffix
Array - A suffix array
Traits§
Functions§
- common_
prefix_ len - Returns the number of bytes
a
andb
have in common. Ex:common_prefix_len("banana", "banter") = 3
- longest_
substring_ match - Searches for the longest substring match for
needle
ininput
, using its suffix arraysa
. - verify
- Returns an error if
sa
is not the suffix array ofinput
, Ok(()) otherwise.