OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: OpenDocument Package : add LZMA compression algorithm


The below document specifies that an OpenDocument Package is a zip file. Each file contained in the zip file "shall be non compressed (STORED) or compressed using the 'deflate' (DEFLATED) algorithm" :


New versions of zip archive software support now the "LZMA" compression method in zip archives : 7-Zip since 2010, other free software (PeaZip, ...) and proprietary software.

The decompression speed of "LZMA" is quite the same than "deflate" but it offers a better compression ratio in most cases (especially with XML content) and seldom a worse compression ratio. During decompression, the used memory is lower than during compression.

The compression with "LZMA" is slower than with "deflate" and the required memory of the compression increases with the dictionary size. However the dictionary size still be small in many cases because the zip format compresses separately each member of the archive (one dictionary per member). Moreover, a computer has now many processing units (multi cores, ...) and thus enables parallel compression (for example : a compression process of one archive member per processing unit).

If you want to limit the required memory of compression/decompression, you can specify a maximum LZMA dictionary size.

Do you think this feature could be added to the next specification ?


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]