The first i at or after start where text[i] is in first and text[i + gap] is in second,
or -1. Two rare-ish bytes at a fixed distance pick out far fewer places than either alone.
find_pair :: (
first: *Byte_Set,
second: *Byte_Set,
gap: int,
text: string,
start := 0
) -> int
The first i at or after start where text[i] is in first and text[i + gap] is in second,
or -1. Two rare-ish bytes at a fixed distance pick out far fewer places than either alone.
Parameters
Returns
- int