[Zlib-devel] infnew-5b available for testing

Mark Adler madler at alumni.caltech.edu
Thu Jan 2 23:36:00 EST 2003


zlibbers,

Version 5c of the new inflate code is available for testing here:

     http://www.alumni.caltech.edu/~madler/infnew-5c.tar.gz

This new code can be applied to zlib 1.1.4 as follows (Unix example):

     gnutar xvfz zlib-1.1.4.tar.gz
     cd zlib-1.1.4
     gnutar xvfz ../infnew-5c.tar.gz
     patch zlib.h zlib.h-1.2.diff
     rm infblock.* infcodes.* infutil.*
     ./configure
     [ ... make your own modifications to Makefile as needed ... ]
     make test
     [ ... test zlib with your applications ... ]

This version is actually exactly the same inflate code as infnew-5, but 
I have added the files crc32.c and crc32.h to this tarball for faster 
crc calculations, and I have updated ung.c to use direct i/o for speed 
comparison with gzip.  This ung.c has been updated from infnew-5b with 
a "-t" option to test the integrity of the listed gzip files.  The -t 
option should be used for speed testing, since it takes writing the 
output to /dev/null out of the equation.  So you could:

     time ung -t bigolefile.gz
     time gzip -t bigolefile.gz

Also this version of ung.c will work with 16-bit ints.

As I mentioned in the last email, I think this code is ready for a 
wider beta audience.  Please send me your suggestions for email lists 
on which I should announce the availability of a new beta version of 
zlib for testing.  Thanks.

mark





More information about the Zlib-devel mailing list