+++ This bug was initially created as a clone of Bug #62363 +++
Cloning as I'm unable to open the old bug.
From the website:
LibLZF is a very small data compression library. It 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.
As for how this is useful over dev-libs/lzo: it's more freely-licensed (BSD vs. GPL), smaller, and slightly faster.
I tested the speed by compressing quake2's pak0.pak on an AMD64 system:
size (bytes) user CPU time (from cache; averaged over 3 runs)
original 183 997 730 -
lzf 125 206 607 3.3463
lzop 120 524 324 3.4706
gzip -1 98 439 364 8.473
gzip 94 178 746 18.055
Created attachment 215175 [details]
Rewritten ebuild for liblzf-3.5
Oops, LICENSE should be "BSD-2".