Package: zlib
Version: 1.2.3-13

please define UNALIGNED_OK when building the amd64 target... unaligneds 
are very inexpensive on all intel and amd cpus.

i benchmarked gzip -9 on linux-2.6.17.tar with this define and i see a 
2.5% speedup on p4, a64, and a 9% speedup on core2.  the zlib source code 
has essentially the same longest_match() implementation as in the gzip 
source code, so i'm expecting similar improvements in zlib.

note that this define wasn't necessary on 32-bit x86 because there's 
custom 32-bit assembly which uses unaligneds even more aggressively than 
the C code does even when given UNALIGNED_OK.

thanks
-dean

p.s. i've submitted the same bug report against gzip to get the support 
enabled there as well.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to