Suffixient Arrays: A New Efficient Suffix Array Compression Technique.

IF 0.6 4区 计算机科学 Q4 COMPUTER SCIENCE, THEORY & METHODS
Theory of Computing Systems Pub Date : 2026-01-01 Epub Date: 2026-09-11 DOI:10.1007/s00224-026-10287-6
Davide Cenzato, Lore Depuydt, Travis Gagie, Sung-Hwan Kim, Giovanni Manzini, Francisco Olivares, Nicola Prezza
{"title":"Suffixient Arrays: A New Efficient Suffix Array Compression Technique.","authors":"Davide Cenzato, Lore Depuydt, Travis Gagie, Sung-Hwan Kim, Giovanni Manzini, Francisco Olivares, Nicola Prezza","doi":"10.1007/s00224-026-10287-6","DOIUrl":null,"url":null,"abstract":"<p><p>The Suffix Array is a classic text index enabling on-line pattern matching queries via simple binary search. The main drawback of the Suffix Array is that it takes linear space in the text's length, even when the text itself is extremely compressible. Several works in the literature showed that the Suffix Array can be compressed, but they all rely on complex succinct data structures which in practice tend to exhibit poor cache locality and thus significantly slow down queries. In this paper, we propose a new simple and very efficient solution to this problem by presenting the <i>Suffixient Array</i>: a tiny subset of the Suffix Array <i>sufficient</i> to locate on-line one pattern occurrence (in general, all its Maximal Exact Matches) via binary search, provided that random access to the text is available. We prove that: (i) the Suffixient Array length <math><mrow><mi>χ</mi></mrow> </math> is a strong repetitiveness measure, (ii) unlike most existing repetition-aware indexes such as the <math><mrow><mi>r</mi></mrow> </math> -index, our new index is efficient in the I/O model, and (iii) Suffixient Arrays can be computed in linear time and compressed working space. We show experimentally that, when using well-established compressed random access data structures on repetitive collections, the Suffixient Array <math><mrow><mtext>sA</mtext></mrow> </math> is <i>simultaneously</i> (i) faster and orders of magnitude smaller than the Suffix Array and (ii) smaller and <i>one to two orders of magnitude faster</i> than the <math><mrow><mi>r</mi></mrow> </math> -index. With an average pattern matching query time as low as 3.5 ns per character, our new index gets very close to the ultimate lower bound: the RAM throughput of our workstation (1.18 ns per character).</p>","PeriodicalId":22832,"journal":{"name":"Theory of Computing Systems","volume":"70 3","pages":"50"},"PeriodicalIF":0.6000,"publicationDate":"2026-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13569561/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theory of Computing Systems","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1007/s00224-026-10287-6","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/9/11 0:00:00","PubModel":"Epub","JCR":"Q4","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

The Suffix Array is a classic text index enabling on-line pattern matching queries via simple binary search. The main drawback of the Suffix Array is that it takes linear space in the text's length, even when the text itself is extremely compressible. Several works in the literature showed that the Suffix Array can be compressed, but they all rely on complex succinct data structures which in practice tend to exhibit poor cache locality and thus significantly slow down queries. In this paper, we propose a new simple and very efficient solution to this problem by presenting the Suffixient Array: a tiny subset of the Suffix Array sufficient to locate on-line one pattern occurrence (in general, all its Maximal Exact Matches) via binary search, provided that random access to the text is available. We prove that: (i) the Suffixient Array length χ is a strong repetitiveness measure, (ii) unlike most existing repetition-aware indexes such as the r -index, our new index is efficient in the I/O model, and (iii) Suffixient Arrays can be computed in linear time and compressed working space. We show experimentally that, when using well-established compressed random access data structures on repetitive collections, the Suffixient Array sA is simultaneously (i) faster and orders of magnitude smaller than the Suffix Array and (ii) smaller and one to two orders of magnitude faster than the r -index. With an average pattern matching query time as low as 3.5 ns per character, our new index gets very close to the ultimate lower bound: the RAM throughput of our workstation (1.18 ns per character).

后缀数组:一种新的高效后缀数组压缩技术。
后缀数组是一种经典的文本索引,支持通过简单的二进制搜索进行在线模式匹配查询。后缀数组的主要缺点是它占用文本长度的线性空间,即使文本本身是非常可压缩的。文献中的一些工作表明,后缀数组可以被压缩,但它们都依赖于复杂简洁的数据结构,这些结构在实践中往往表现出较差的缓存局部性,从而大大降低了查询速度。在本文中,我们提出了一个新的简单而非常有效的解决方案,通过提出后缀数组:后缀数组的一个小子集,足以通过二进制搜索在线定位一个模式发生(一般来说,它的所有最大精确匹配),前提是对文本的随机访问可用。我们证明:(i) Suffixient Array length χ是一种强重复性度量,(ii)与大多数现有的重复感知索引(如r -index)不同,我们的新索引在i /O模型中是有效的,(iii) Suffixient Arrays可以在线性时间和压缩的工作空间中计算。我们通过实验证明,当在重复集合上使用完善的压缩随机访问数据结构时,后缀数组sA同时(i)比后缀数组更快,并且比后缀数组小几个数量级,并且(ii)比r -索引更小,并且快一到两个数量级。由于平均模式匹配查询时间低至每个字符3.5 ns,我们的新索引非常接近最终的下限:工作站的RAM吞吐量(每个字符1.18 ns)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Theory of Computing Systems
Theory of Computing Systems 工程技术-计算机:理论方法
CiteScore
1.90
自引率
0.00%
发文量
36
审稿时长
6-12 weeks
期刊介绍: TOCS is devoted to publishing original research from all areas of theoretical computer science, ranging from foundational areas such as computational complexity, to fundamental areas such as algorithms and data structures, to focused areas such as parallel and distributed algorithms and architectures.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书