[Zlib-devel] zlib 1.2.0.x (fwd)

Cosmin Truta cosmin at cs.toronto.edu
Fri Sep 12 03:52:50 EDT 2003


Hi, Gunther,
Thanks for the patches!

I am forwarding your message to the zlib-devel list. We are going fairly
slowly with the updates; please bear with us :)

The higher decompression speed of zlib-1.2.0.x is the most significant
improvement since zlib-1.1.4. I am glad that your observations match our
(more precisely, Mark's) expectations.

I have a question about POSTINC: does it really make a difference in
size? If there are only few extra bytes to talk about (as I would
expect), then I think we shouldn't bother.

Best regards,
Cosmin


---------- Forwarded message ----------
Date: Thu, 11 Sep 2003 03:42:16 -0400
From: Gunther Nikl <gni at gecko.de>
To: cosmin at cs.toronto.edu
Subject: zlib 1.2.0.x

Hello!

I wrote an email to zlib at gzip.org at august 14 but I didn't get a reply.
(maybe this was the wrong address to send the mail to? I don't know.)
Since zlib at devel is only available for members I couldn't use the list.

I am attaching the parts of my old mail. Maybe you can answer my question
and handle the patch?

Thank you,
Gunther

-- 
Linux is only free if your time has no value
 - Jamie Zawinsky
-------------- next part --------------
Hello!



I updated the amiga Makefiles for zlib-1.2.0. I don't include them yet,

since I have a small question regarding POSTINC for inffast.c. What is the

best/correct way to set that define? Should that be done in a makefile

or in zutil.h? Using it shrinks the generated code a bit on m68k, but it

doesn't seem to make the code faster (nor slower ;-).

I have done some speed test with zlib 1.1.4 and 1.2.0.3 on my 68060 based

system. GUNZIP support in 1.2.0 was disabled. First I compiled both versions

with GCC 2.95.2 but then I switched to GCC 3.3 because the 3.3 generated

code was about 11% _faster_ than the 2.95.2 code. I then used the zlib tar

to test compression and decompression speed. In my tests 1.1.4 and 1.2.0

had roughly equal compression speed (1.1.4 beeing faster by 0.0[12] secs).

However, on decompression 1.2.0 was faster than 1.1.4. Please note that this

test was only done with one testfile.



Lastly, I attached a small patch for contrib/puff/puff.c which fixes typo ;)



Gunther

-------------- next part --------------
diff -bBrup zlib-1.2.0.3/contrib/puff/puff.c zlib-1.2.0.3-new/contrib/puff/puff.c

--- zlib-1.2.0.3/contrib/puff/puff.c	Tue Mar  4 07:35:39 2003

+++ zlib-1.2.0.3-new/contrib/puff/puff.c	Fri Aug  1 11:07:27 2003

@@ -58,7 +58,7 @@

  *                      - Add FIXLCODES #define

  * 1.5   6 Apr 2002     - Minor comment fixes

  * 1.6   7 Aug 2002     - Minor format changes

- * 1.7   3 Mar 2002     - Added test code for distribution

+ * 1.7   3 Mar 2003     - Added test code for distribution

  *                      - Added zlib-like license

  */

 



More information about the Zlib-devel mailing list