Last Modified: 1999-10-18
Yamasita, TatuoSUFARY is a package of libraries using the Suffix array [1]. The Suffix array is a string indexing structure and memory efficient alternative of the Suffix tree. The Suffix array is a sorted list of all the suffixes of a text. The construction of the suffix array requires O(N log N) time in the worst case, where N is a length of the text. Any strings (suffixies) can be found in O(P log N) time with a simple binary search, where P is a length of a keyword.