On 12/7/2007 6:23 PM, Linus Torvalds wrote:
Is SHA a significant portion of the compute during these repacks?
I should run oprofile...
SHA1 is almost totally insignificant on x86. It hardly shows up. But we
have a good optimized version there.
zlib tends to be a lot more noticeable (especially the uncompression: it
may be faster than compression, but it's done _so_ much more that it
totally dominates).
Have you considered alternatives, like:
http://www.oberhumer.com/opensource/ucl/
--
Giovanni Bajo