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

Mark Adler madler at alumni.caltech.edu
Thu Jan 2 22:29:01 EST 2003


zlib speed demons,

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

     http://www.alumni.caltech.edu/~madler/infnew-5b.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-5b.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.  Note that this version of ung,c was not written 
to work with 16-bit ints, and in fact probably won't due to read() and 
write() returning signed values.  If someone would like to test it with 
16-bit ints, I will update the code to be more portable--just let me 
know.

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