LZO

From EDM2
Jump to: navigation, search

A run time compression C library that is also available in a Java implementation that offers fairly moderate compression in return for high compression and decompression speeds. Intended to be used for internal data compression in databases and similar applications rather than file compression, but in those sort of cases a low load decompression can in addition to saving space actually speed up reading and writing to and from slow peripherals such as hard drives.

The LZO C library appears to compile fairly cleanly on OS/2 with the usual caveats about compiler and system differences and so on, and in fact was commonly used in a number of open source projects on eComStation. However due to the fact that the code is licensed under the GPL and can therefore only be used in other GPL projects and the emergence of the Snappy and LZ4 packages that offer similar amount of compression and compression speeds, coupled with much faster decompression speeds from the latter packages, its use has all but disappeared, even in GPL'd projects that used to use it internally. And for those same reason you are not recommended to use LZO unless you need to support legacy software that uses it.

miniLZO

miniLZO is a lightweight version of the LZO library, it consists of only one C source file and three header files and should add only about 6k to your executable. Compiles fine on OS/2 but the same caveats apply as with the full blown version.

Version

  • LZO 2.0.9 (2015-02-04)

Links

See also

  • Snappy - Similar C++ library
  • LZ4 - Similar C library.

Publications

License and status

  • Open source software made available under the GPL v2 - Active development.

Authors

  • Markus F.X.J. Oberhumer (Original author)
  • Shevek (Java port)