www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - SR3C -- small sompression library

SR3C[1] is a small and simple MIT-licensed compression library 
(~28KB of source code, no external dependencies), which 
nevertheless can compress data with the quality of gzip -7.

the drawbacks are:
• it requires ~4.5MB of RAM for compression or decompression;
• decompression speed is much slower than gzip's;
• compression speed is slower too (yet this case can be improved 
by using gdc/ldc to build the code).

usage sample can be seen here[2].


[1] http://repo.or.cz/iv.d.git/blob_plain/HEAD:/sr3c.d
[2] 
http://repo.or.cz/iv.d.git/blob_plain/HEAD:/sr3csample/sr3ctest.d
May 27 2016