Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Data Structures and Algorithms

arXiv:2609.40299 (cs)
[Submitted on 30 Sep 2026]

Title:Mixing FM-indexes and CSAs: backward search over an order-1 rank encoding

Authors:Travis Gagie
View a PDF of the paper titled Mixing FM-indexes and CSAs: backward search over an order-1 rank encoding, by Travis Gagie
View PDF HTML (experimental)
Abstract:FM-indexes and compressed suffix arrays (CSAs) are often treated as interchangeable, but they behave differently as the alphabet grows. An FM-index step costs about one cache miss per level of a wavelet tree, so it gets slower with the alphabet size. A CSA step is a binary search whose range shrinks as characters get rarer. We describe a simple hybrid. Each character of the text is replaced by the rank of its frequency among the characters that follow the previous character. We backward-search on this encoding, which is over a small, skewed alphabet, and recover the one piece of information the encoding loses (the first character of the pattern) with a single CSA-like step on an array we call $\PsiE$. Counting is exact, and locating works with standard suffix-array sampling. A prototype on synthetic repetitive data shows that the hybrid is the fastest of the indexes we tried at intermediate alphabet sizes with 1\% noise, but even its compact version is 1.7 to 3.9 times larger than a compressed run-length CSA or FM-index of the original text, because the encoding and $\PsiE$ together have more runs than the original Burrows--Wheeler transform. Whether that changes on real data, such as parses and minimizer digests, is the main open question.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:2609.40299 [cs.DS]
  (or arXiv:2609.40299v1 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.2609.40299
arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Travis Gagie [view email]
[v1] Wed, 30 Sep 2026 17:50:57 UTC (17 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Mixing FM-indexes and CSAs: backward search over an order-1 rank encoding, by Travis Gagie
  • View PDF
  • HTML (experimental)
  • TeX Source
view license

Current browse context:

cs.DS
< prev   |   next >
new | recent | 2026-09
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences