lz4/lz4
Repository · https://github.com/lz4/lz4
Extremely Fast Compression algorithm
First seen by Oriel on .
AI summary
LZ4 is a lossless compression library and command-line tool designed for very high compression and decompression throughput, with adjustable speed-ratio trade-offs and dictionary support.
- The README reports compression above 500 MB/s per core and decompression at multiple GB/s per core, often limited by RAM speed on multi-core systems.
- In a single-thread benchmark on the Silesia Corpus, LZ4 default v1.11.0 reached 770 MB/s compression and 4950 MB/s decompression at a 2.112 compression factor.
- LZ4_HC improves compression ratio by spending more CPU time; its -9 benchmark reached a 2.717 factor at 40 MB/s, with 4800 MB/s decompression.
- Dictionary compression is supported through the API and CLI; any input file can serve as a dictionary, using its final 64 KB.
- The library uses the BSD 2-Clause license, while the lz4 command-line utility uses GPL-2.0-or-later; Make, CMake, Meson, and Visual Studio build options are listed.
#lz4 #compression #data formats
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Stars
Total repository stars at each observation.
- GitHub Trending: 12,676, latest observation ; +459 over observed period since
Stars gained (1d)
Daily star gain reported by GitHub Trending. A change compares two daily values; it is not additional stars between observations.
- GitHub Trending: 315, latest observation ; +299 over observed period since
Forks
Total repository forks at each observation.
- GitHub Trending: 1,646, latest observation ; +16 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| GitHub Trending | lz4/lz4 | https://github.com/lz4/lz4 Read discussion |