LZFSE
Developer(s) | Apple |
---|---|
Initial release | 2015 |
Stable release |
lzfse-1.0
/ 8 May 2017 |
Repository | lzfse on GitHub |
Written in | C |
Operating system | macOS, iOS, Linux[1] |
Available in | C |
Type | Data compression |
License | 3-clause New BSD License |
LZFSE (Lempel–Ziv Finite State Entropy) is an open source lossless data compression algorithm created by Apple Inc.[2]
Overview
The name is an acronym for Lempel–Ziv + Finite State Entropy[3] (implementation of asymmetric numeral systems). LZFSE was introduced by Apple at its Worldwide Developer Conference (WWDC) 2015. It shipped with that year's iOS 9 and OS X 10.11 releases.
Apple claims that LZFSE compresses with a ratio comparable to that of zlib (DEFLATE) and decompresses 2–3x faster while using fewer resources, therefore offering higher energy efficiency. It was aimed for scenarios where decompression speed and rate should be prioritised equally.[3] Part of this energy efficiency was achieved by optimising the algorithm for modern micro-architectures, specifically focusing on arm64.[4]
Implementation
A reference C library written by Eric Bainville was made available as open source after WWDC 2016.[1]
See also
- Zstandard - another combination of LZ77 and ANS
- LZ4 (compression algorithm) – a fast member of the LZ77 family
References
- 1 2 Bainville, Eric (2016-06-07). "LZFSE compression library and command line tool". GitHub. Retrieved 2016-07-04.
- ↑ Apple Inc. "Data Compression - Compression | Apple Developer Documentation". developer.apple.com. Retrieved 2017-04-07.
- 1 2 De Simone, Sergio. "Apple Open-Sources its New Compression Algorithm LZFSE". infoq. Retrieved 2016-07-07.
- ↑ Apple Inc. (2015-06-12). "Low Energy, High Performance: Compression and Accelerate - WWDC 2015 - Apple Developer Videos". developer.apple.com. Retrieved 2017-03-05. pdf