LZMA is the default and general compression method for the 7z format found in 7-Zip.
LZMA provides a high compression ratio and very fast decompression, so it is very suitable for embedded applications.
LZMA SDK is a package that includes:
· C++ source code of LZMA Encoder and Decoder
· ANSI-C compatible source code for LZMA decompression with example
· C# source code for LZMA compression and decompression
· Java source code for LZMA compression and decompression
· Compiled file->file LZMA compression/decompression program for the Windows operating system
ANSI-C LZMA decompression code is ported from the original C++ sources to C. Also, it has been simplified and optimized for code size. But it is fully compatible with LZMA from 7-Zip.
Here are some key features of "LZMA SDK":
· Compression speed: 2 MB/s on 2 GHz dual-core CPU.
Decompression speed:
· 20-30 MB/s on 2 GHz Intel Core2 or AMD Athlon64.
· 1-2 MB/s on 200 MHz ARM, MIPS, PowerPC or other simple RISC CPU.
· Small memory requirements for decompression: 8-32 KB + DictionarySize
· Small code size for decompression: 2-8 KB (depending on speed optimizations)
What's New in This Release: [ read full changelog ]
· New class FString for file names at file systems.
· Speed optimization in CRC code for big-endian CPUs.
The BUG in Lzma2Dec.c was fixed:
· Lzma2Decode function didn't work.