LZF is a very fast compression algorithm and can be optimized for speed or space at the time of compilation. It is ideal for saving space with only slight speed cost. This extension uses the liblzf library by Marc Lehmann for its operations. LZF can be optimized for space rather than speed by using the command –enable-lzf-better-compression.

Functions of lzf:

lzf_Compress – lzf compression

lzf_decompress — LZF decompression

lzf_optimized_for – Determines which LZF extension was optimized

 

Categorized in: