Clone this repo:


  1. 885c3bf lz4: Enable building with Android by Steve Kondik · 8 years ago c6
  2. 3fb9430 Revert "lz4: Add file to build as a host static library" by Humberto Borba · 7 years ago
  3. 49f9b96 lz4: Add file to build as a host static library by Mohamad Ayyash · 8 years ago
  4. 6a8d8f0 Move BSD LICENSE FILE from lib/LICENSE to root dir. by Mohamad Ayyash · 8 years ago
  5. a464d44 Added : -pedantic compilation option by Yann Collet · 8 years ago

LZ4 - Extremely fast compression

LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems. A high compression derivative, called LZ4_HC, is also provided. It trades CPU time for compression ratio.

masterBuild Status
devBuild Status

This is an official mirror of LZ4 project, hosted on Google Code. The intention is to offer github's capabilities to lz4 users, such as cloning, branch, pull requests or source download.

The "master" branch will reflect, the status of lz4 at its official homepage. The "dev" branch is the one where all contributions will be merged. If you plan to propose a patch, please commit into the "dev" branch. Direct commit to "master" are not permitted. Feature branches will also exist, typically to introduce new requirements, and be temporarily available for testing before merge into "dev" branch.


The benchmark uses the Open-Source Benchmark program by m^2 (v0.14.2) compiled with GCC v4.6.1 on Linux Ubuntu 64-bits v11.10, The reference system uses a Core i5-3340M @2.7GHz. Benchmark evaluates the compression of reference Silesia Corpus in single-thread mode.