From: Theodore Tso Date: Sun, 26 Jul 2009 16:29:28 GMT Subject: Re: Performance issue of 'git branch' Message-ID: <20090726162927.GC17272@mit.edu> In-Reply-To: On Sat, Jul 25, 2009 at 09:49:41PM -0700, Linus Torvalds wrote: > > But at the same time, last time I benchmarked the different SHA1 > libraries, the openssl one was the fastest. I think it has tuned assembly > language for most architectures. Our regular mozilla-based C code is > perfectly fine, but it doesn't hold a candle to assembler tuning. So maybe git should import the SHA1 code into its own source base? It's not like the SHA1 code changes often, or is likely to have security issues (at least, not buffer overruns; if SHA1 gets thorouhly broken we might have to change algorithms, but that's a different kettle of fish :-). - Ted