LibLZF

LibLZF is a very small data compression library.
Download

LibLZF Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Marc Lehmann
  • Publisher web site:
  • http://www.goof.com/pcg/marc/

LibLZF Tags


LibLZF Description

LibLZF is a very small data compression library. LibLZF is a very small data compression library. LibLZF library consists of only two .c and two .h files and is very easy to incorporate into your own programs. The compression algorithm is very, very fast, yet still written in portable C.Last not least, it is freely usable, unlike most other compression libraries which are under the GPL, this library uses a BSD-type license, so you can include it in your programs without worrying.Here are some key features of "LibLZF":· Small code size (less then 500 lines including header files and docs).· Very fast compression speeds, rivaling a straight copy loop, especially for decompression which is basically at (unoptimized) memcpy-speed. Compression speed can be increased by 20% by sacrificing a few percent of compression ratio.· Mediocre compression ratios - you can usually expect about 40-50% compression for typical binary data· Easy to use (just two functions, no state attached)· Highly portable (written in C)· Tunable, see the file lzfP.h in the distribution, to tailor liblzf to your needs. The generated compressed blocks can be decompressed by any liblzf version regardless of the options used to compress.· Freely usable (BSD-type-license)· Perl-Interface is available on CPAN (Compress::LZF)LibLZF is an ideal library for the following applications:· Fast, real-time compression, where liblzf can save I/O without costing too much CPU time.· Block compression. If you have repeated blocks of data (IP packets, application state etc..), then liblzf is ideal to decrease the size at a very small cost, as liblzf is basically free on modern cpus.What's New in This Release:· The license has been changed to a two-clause BSD license with the option to switch to GPL version 2 or any later version.· The compression speed has been increased considerably, and the user can now chose between roughly the same speed as fastlz with a better compression ratio, or a faster speed than fastlz at a slightly worse compression ratio.· The lzf utility has been improved to act much more like other similar utilities (e.g. gzip).


LibLZF Related Software