1
0
mirror of https://github.com/git/git.git synced 2024-09-28 19:42:15 +02:00
git/block-sha1
Linus Torvalds b8e48a89b8 block-sha1: try to use rol/ror appropriately
Use the one with the smaller constant.  It _can_ generate slightly
smaller code (a constant of 1 is special), but perhaps more importantly
it's possibly faster on any uarch that does a rotate with a loop.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-08-06 13:56:45 -07:00
..
sha1.c block-sha1: try to use rol/ror appropriately 2009-08-06 13:56:45 -07:00
sha1.h