[Zlib-devel] Performance patch set

Mark Adler madler at alumni.caltech.edu
Sun May 9 17:42:30 EDT 2010


Stefan,

Please package your patch as a file, since these things don't translate well in the body of an email.

On May 9, 2010, at 2:05 PM, Stefan Fuhrmann wrote:
> Inflate is now about 50% faster

Thank you for your work!  That is a major improvement.  I will give it a try and see how it does with gcc instead of msvc.

Changes of this magnitude leads me to think I should add you as a co-author of inffast.c if they are adopted.  I assume that you would agree to the zlib license in that case?

> * inftree.c: explicitly eliminate redundant memory
> accesses as at least MS VC is not able to do it
> (fearing pointer aliases?).

I don't understand this.  What is it that msvc is not able to do?

Please take a look at Joakim's inflate improvements, and see if you have already incorporated them, or if they should be integrated with yours for further speed improvements.

Mark





More information about the Zlib-devel mailing list