Opened 10 years ago
Last modified 5 years ago
#7534 new Feature Requests
Iostreams filter for LZMA2 (XZ)
Reported by: | spixxi | Owned by: | Jonathan Turkanis |
---|---|---|---|
Milestone: | To Be Determined | Component: | iostreams |
Version: | Boost 1.52.0 | Severity: | Optimization |
Keywords: | Cc: | marius.spix@…, liling@… |
Description
I propose a standard LZMA2 (XZ) filter implementation for the Iostreams library.
LZMA2 provides much better compression than gz and bzip2. XZ is the default package format in Slackware GNU/Linux. 7-Zip, the most popular file compressor for Windows also uses LZMA2.
The source code of liblzma is found here.
A sample implementation of a Boost Iostream filter for lzma can be found in the fusecompress source.
I think it would be a big advantage because XZ is an upcoming file format which is used more and more in areas and by applications where saving bandwidth, memory or physical storage is important.
Added in 1.65.0