Compress::LZFExtremely light-weight Lempel-Ziv-Free compression | |
Download |
Compress::LZF Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Marc Lehmann
- Publisher web site:
- http://www.goof.com/pcg/marc/
Compress::LZF Tags
Compress::LZF Description
Extremely light-weight Lempel-Ziv-Free compression LZF is an extremely fast (not that much slower than a pure memcpy) compression algorithm. It is ideal for applications where you want to save some space but not at the cost of speed. It is ideal for repetitive data as well. The Compress::LZF module is self-contained and very small (no large library to be pulled in). It is also free, so there should be no problems incorporating this module into commercial programs.Developer commentsI have no idea wether any patents in any countries apply to this algorithm, but at the moment it is believed that it is free from any patents.SYNOPSIS # import compress/decompress functions use Compress::LZF; # the same as above use Compress::LZF ':compress'; $compressed = compress $uncompressed_data; $original_data = decompress $compressed; # import sfreeze, sfreeze_cref and sfreeze_c use Compress::LZF ':freeze'; $serialized = sfreeze_c ; $original_data = sthaw $serialized; Requirements: · Perl
Compress::LZF Related Software