/ concept-collection / benchcompress
Sign in
concept-collection / benchcompress
764 BPreviewCodeBlameHistoryRaw

LZ4 Algorithm#

LZ4 is a lossless compression algorithm focused on compression and decompression speed. It belongs to the LZ77 family of byte-oriented compression schemes and is particularly well-suited for real-time compression scenarios.

Variants#

Standard Compression#

Different compression levels trading off speed vs compression ratio:

Delta Encoding#

Delta encoding stores differences between consecutive values rather than the values themselves. This can improve compression for sequences where adjacent values are often similar, such as time series data.

moveopenescclose