comp.lang.ada
 help / color / mirror / Atom feed
* Ann: Zip-Ada v.51
@ 2016-08-27  6:15 gautier_niouzes
  2016-08-28  0:31 ` gautier_niouzes
  0 siblings, 1 reply; 2+ messages in thread
From: gautier_niouzes @ 2016-08-27  6:15 UTC (permalink / raw)


URL: https://sf.net/projects/unzip-ada/

* Changes in '51', 27-Aug-2016:
  - LZMA.Encoding has been added; it is a standalone compressor,
      see lzma_enc.adb for an example of use.
  - Zip.Compress provides now LZMA_1, LZMA_2 methods. In other words, you
      can use the LZMA compression with Zip.Create.
  - Zip.Compress has also a "Preselection" method that selects
      a compression method depending on hints like the uncompressed size.
  - Zip.Compress.Deflate: Deflate_1 .. Deflate_3 compression is
      slightly better.

The LZMA format, new in Zip-Ada, is especially good for compressing database data - be it in binary or text forms. Don't be surprised if the resulting archive represent only a few percents of the original data...

Enjoy!
_________________________ 
Gautier's Ada programming 
http://gautiersblog.blogspot.com/search/label/Ada 
NB: follow the above link for a valid e-mail address 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ann: Zip-Ada v.51
  2016-08-27  6:15 Ann: Zip-Ada v.51 gautier_niouzes
@ 2016-08-28  0:31 ` gautier_niouzes
  0 siblings, 0 replies; 2+ messages in thread
From: gautier_niouzes @ 2016-08-28  0:31 UTC (permalink / raw)


Forgot to mention that the new piece, LZMA.Encoding, has been written from scratch. The current version, fully functional, holds in only 399 lines (after going through J-P. Rosen's Normalize tool). It can be interesting for those who are curious about how the "MA" part of that compression algorithm is working.

The code can be browsed here:
http://unzip-ada.sf.net/za_html/lzma-encoding__adb.htm

I've put a few notes about range encoding used in LZMA, here:
http://gautiersblog.blogspot.ch/2016/08/lzma-compression.html

Have fun
Gautier


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-28  0:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-27  6:15 Ann: Zip-Ada v.51 gautier_niouzes
2016-08-28  0:31 ` gautier_niouzes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox