[Zlib-devel] DEF_MEM_LEVEL vs. MAX_MEM_LEVEL

Jan Ringoš tringi at mx-3.cz
Mon Apr 11 11:03:11 EDT 2005


Why DEF_MEM_LEVEL (along with Z_DEFAULT_COMPRESSION, -MAX_WBITS and Z_DEFAULT_STRATEGY) gives better compression than MAX_MEM_LEVEL ?

I compress 65471 bytes long buffers of general data and the output buffer is always few bytes longer with MAX_MEM_LEVEL than with DEF_MEM_LEVEL.

How significant is performance gain when MAX_MEM_LEVEL is used?

---
Jan Ringoš, Tringi at Mx-3.cz
http://Tringi.Mx-3.cz

n.v.t. MX-3, www.mx-3.cz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20050411/11d13286/attachment.html>


More information about the Zlib-devel mailing list