[][src]Module lz4_flex::block::compress

The compression algorithm.

We make use of hash tables to find duplicates. This gives a reasonable compression ratio with a high performance. It has fixed memory usage, which contrary to other approachs, makes it less memory hungry.

Functions

compress

Compress all bytes of input.

compress_into

Compress all bytes of input into output.

compress_prepend_size

Compress all bytes of input into output. The uncompressed size will be prepended as litte endian. Can be used in conjuction with decompress_size_prepended

hash