Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Suffix array
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Space efficiency == Suffix arrays were introduced by {{harvtxt|Manber|Myers|1990}} in order to improve over the space requirements of [[suffix tree]]s: Suffix arrays store <math>n</math> integers. Assuming an integer requires <math>4</math> bytes, a suffix array requires <math>4n</math> bytes in total. This is significantly less than the <math>20n</math> bytes which are required by a careful suffix tree implementation.{{sfn|Kurtz|1999}} However, in certain applications, the space requirements of suffix arrays may still be prohibitive. Analyzed in bits, a suffix array requires <math>\mathcal{O}(n \log n)</math> space, whereas the original text over an alphabet of size <math>\sigma</math> only requires <math>\mathcal{O}(n \log \sigma)</math> bits. For a human genome with <math>\sigma = 4</math> and <math>n = 3.4 \times 10^9</math> the suffix array would therefore occupy about 16 times more memory than the genome itself. Such discrepancies motivated a trend towards [[compressed suffix array]]s and [[Burrows–Wheeler transform|BWT]]-based compressed full-text indices such as the [[FM-index]]. These data structures require only space within the size of the text or even less.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)