[][src]Module lz4_compression::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.