liblzg minimalist lossless data compression library https://liblzg.bitsnbites.eu
https://github.com/mbitsnbites/liblzg
The main characteristic of the library is that the decoding routine is very simple, fast, and requires no memory.
Сравнение liblzg, kitty и heatshrink:
xboot.bin 231936
--------------------------------------------------
lzg -9 xboot.bin xboot.lzg --> 146859
kitty c xboot.bin xboot.kt --> 154027
heatshrink -w 8 -l 4 xboot.bin xboot.hs --> 157286
libusb-1.0.dll 137380
-------------------------------------------------------------
lzg -9 libusb-1.0.dll libusb-1.0.lzg --> 93012
kitty c libusb-1.0.dll libusb-1.0.kt --> 101136
heatshrink -w 8 -l 4 libusb-1.0.dll libusb-1.0.hs --> 104513