Documentation ¶
Overview ¶
Package suffixarray implements substring search in logarithmic time using an in-memory suffix array.
It is derived from index/suffixarray in go std; the only difference is that it forces use of int32 for the index and exposes a single method LookupLongest that returns the longest match in a given range.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index implements a suffix array for fast substring search.
Click to show internal directories.
Click to hide internal directories.