Maybe a dedicated SIMD version of SHA1?

http://arctic.org/~dean/crypto/sha1.html

Cheers,
Peter

David Roundy wrote:
On Wed, Jan 23, 2008 at 03:26:51PM +0000, Simon Marlow wrote:
  
There are still times when I see nothing happening, for example in the 
unpull test on the GHC repo (see previous messages), the last progress 
message I get is

Reading patches in /64playpen/simonmar/ghc-darcs2 17040

and it sits there for 7-8 seconds before completing.  Does this maybe shed 
any light on why this unpull is 2 times slower than darcs1?
    

I'm not entirely certain what's triggering this, but I have identified that
removing a couple of sha1 checks cuts 1s out of 15s for me.  This makes me
wonder whether it's worth looking into a faster sha1 implementation.