[Zlib-devel] DEFLATE performance improvements

Mike Frysinger vapier at gentoo.org
Thu Nov 28 02:06:31 EST 2013


On Monday 25 November 2013 17:21:36 Jim Kukunas wrote:
> This patch series introduces a number of deflate performance improvements.
> These improvements include two new deflate strategies, quick and medium,
> as well as various improvements such as a faster hash function,
> PCLMULQDQ-optimized CRC folding, and SSE2 hash shifting.
> 
> The first patch adds a configure script check for determining the target
> architecture. All optimizations added are encapsulated within preprocessor
> checks which are selectively enabled based on target support. As such,
> none of the patches in this series should have any effect on
> non-x86{,_64} architectures.

general feedback: doesn't seem like the code was architected in a way that'd 
cleanly separate the arch-specific bits from the common code.  that makes it a 
pain to not only update this new code base, but to port it to other 
architectures.  i know that's generally not in Intel's interest, but a sane 
code base is ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20131128/f197d860/attachment-0001.sig>


More information about the Zlib-devel mailing list