Apple has open-sourced [infoq.com] its new lossless compression algorithm, LZFSE, introduced last year with iOS 9 and OS X 10.10. According to Apple, LZFE provides the same compression gain as ZLib level 5 while being 2x–3x faster and with higher energy efficiency.
Admittedly, LZFSE does not aim to be the best or fastest algorithm out there. [...] LZFSE is Apple’s suggested option when compression and speed are more or less equally important and you want reduce energy consumption.
A reference implementation is available on GitHub [github.com].