Space Efficient Linear Time Lempel-Ziv Factorization for Small Alphabets
Space Efficient Linear Time Lempel-Ziv Factorization for Small Alphabets
复制标题
DOI:
10.1109/dcc.2014.62
复制
发表时间:
2014-03
期刊:
影响因子:
--
通讯作者:
Keisuke Goto;H. Bannai
中科院分区:
文献类型:
--
作者:
Keisuke Goto;H. Bannai
We present a new linear time algorithm for computing the Lempel-Ziv Factorization (LZ77) of a given string of length N on an alphabet of size σ, that utilizes only N log N + O(σ log N) bits of working space. When the alphabet size is small, this greatly improves the previous best space requirement for linear time LZ77 factorization (Karkkainen et al. CPM 2013), which is 2N log N bits, i.e. two integer arrays of length N. Experiments show that despite the added complexity of the algorithm, the speed of the algorithm is only around two to three times slower than previous fastest linear time algorithms.