libgit2/libgit2 — pull request #1012 by carlosmn (2012-10-23 18:19:48+00:00)
Title: Use libcrypto's SHA-1 implementation when linking to it

libcryto's SHA-1 implementation is measurably better than the one that
ships with the library. If we link to it for HTTPS support already,
use that implementation instead.

Testing on a ~600MB of the linux repository, this reduces indexing
time by 40% and removes the hashing from the top spot in the perf
output.

This should also increase our fetching speed (which is limited by the speed of the indexer), but I haven't been able to test that yet.