package suffixarray

Import Path
	index/suffixarray (on golang.org and go.dev)

Dependency Relation
	imports 7 packages, and imported by 0 packages

Involved Source Files
	    sais.go
	    sais2.go
	d-> suffixarray.go

Exported Type Names

type Index (struct) Index implements a suffix array for fast substring search. (*T) Bytes() []byte (*T) FindAllIndex(r *regexp.Regexp, n int) (result [][]int) (*T) Lookup(s []byte, n int) (result []int) (*T) Read(r io.Reader) error (*T) Write(w io.Writer) error func New(data []byte) *Index
Exported Values
func New(data []byte) *Index New creates a new Index for data. Index creation time is O(N) for N = len(data).