Skip to main content

Space Efficient Algorithms for the Burrows-Wheeler Backtransformation

  • Conference paper
Algorithms – ESA 2005 (ESA 2005)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3669))

Included in the following conference series:

Abstract

The Burrows-Wheeler transformation is used for effective data compression, e.g., in the well known program bzip2. Compression and decompression are done in a block-wise fashion; larger blocks usually result in better compression rates. With the currently used algorithms for decompression, 4n bytes of auxiliary memory for processing a block of n bytes are needed, 0 < n < 232. This may pose a problem in embedded systems (e.g., mobile phones), where RAM is a scarce resource. In this paper we present algorithms that reduce the memory need without sacrificing speed too much.

The main results are: Assuming an input string of n characters, 0 < n < 232, the reverse Burrows-Wheeler transformation can be done with 1.625 n bytes of auxiliary memory and O(n) runtime, using just a few operations per input character. Alternatively, we can use n/t bytes and 256 tn operations. The theoretical results are backed up by experimental data showing the space-time tradeoff.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abel, J.: Grundlagen des Burrows-Wheeler-Kompressionsalgorithmus (in german). Informatik - Forschung und Entwicklung (2003), http://www.data-compression.info/JuergenAbel/Preprints/Preprint_Grundlagen_BWCA.pdf

  2. Arnavut, Z.: Generalization of the BWT transformation and inversion ranks. In: Proc. IEEE Data Compression Conference (DCC 2002), p. 447 (2002)

    Google Scholar 

  3. Atallah, M.J. (ed.): Algorithms and Theory of Computation Handbook. CRC Press, Boca Raton (1999)

    Google Scholar 

  4. Balkenhol, B., Kurtz, S.: Universal data compression based on the Burrows-Wheeler transformation: Theory and practice. IEEE Trans. on Computers 23(10), 1043–1053 (2000)

    MathSciNet  Google Scholar 

  5. Bell, T.C., Cleary, J.G., Witten, I.H.: Text Compression. Prentice Hall, Englewood Cliffs (1990)

    Google Scholar 

  6. Burrows, M., Wheeler, D.J.: A block-sorting lossless data compression algorithm. Tech. report 124, Digital Equipment Corp. (1994), http://gatekeeper.research.compaq.com/pub/DEC/SRC/research-reports/abstracts/src-rr-124.html

  7. Fenwick, P.: Block sorting text compression – final report. Technical report, Department of Computer Science, The University of Auckland (1996), ftp://ftp.cs.auckland.ac.nz/pub/staff/peter-f/TechRep130.ps

  8. Ferragina, P., Manzini, G.: Compression boosting in optimal linear time using the Burrows-Wheeler transform. In: Proc. 15th ACM-SIAM Symposium on Discrete Algorithms (SODA 2004), pp. 655–663 (2004)

    Google Scholar 

  9. Tom’s hadware guide, http://www.tomshardware.com/cpu/20001120/p4-01.html

  10. Manber, U., Meyers, E.: Suffix arrays: A new method for on-line string searches. SIAM Journal on Computing 22, 935–948 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  11. Manzini, G.: An analysis of the Burrows-Wheeler transform. Journal of the ACM 48(3), 407–430 (2001)

    Article  MathSciNet  Google Scholar 

  12. Nelson, M.: Data compression with the Burrows-Wheeler transform. Dr. Dobb’s Journal, 9 (1996)

    Google Scholar 

  13. Seward, J.: Bzip2 manual, http://www.bzip.org/1.0.3/bzip2-manual-1.0.3.html

  14. Seward, J.: Space-time tradeoffs in the inverse B-W transform. In: Proc. IEEE Data Compression Conference (DCC 2001), pp. 439–448 (2001)

    Google Scholar 

  15. Witten, I.H., Bell, T.C.: The Calgary Text Compression Corpus. Available via anonymous ftp at: www.ftp.cpcs.ucalgary.ca/pub/projects/text.compression.corpus

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Lauther, U., Lukovszki, T. (2005). Space Efficient Algorithms for the Burrows-Wheeler Backtransformation. In: Brodal, G.S., Leonardi, S. (eds) Algorithms – ESA 2005. ESA 2005. Lecture Notes in Computer Science, vol 3669. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11561071_28

Download citation

  • DOI: https://doi.org/10.1007/11561071_28

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-29118-3

  • Online ISBN: 978-3-540-31951-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics