libsais is a library for linear time suffix array, longest common prefix array and burrows wheeler transform construction based on induced sorting algorithm.
The LCP array is essential for testing variable-length encoding schemes on realistic integer sequences where most values are small but some can be very large.
An illustration of a magnifying glass. An illustration of a magnifying glass.
Abstract: For full-text indexing of massive data, the suffix and LCP (longest common prefix) arrays have been recognized as fundamental data structures, and there are at least two needs in practice ...
The libsais library provides fast linear-time construction of suffix array (SA), generalized suffix array (GSA), longest common prefix (LCP) array, permuted LCP (PLCP) array, Burrows-Wheeler transform ...