summaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@linux-foundation.org>2009-08-05 19:42:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-08-06 13:56:45 -0700
commitb8e48a89b8f581eaf95b57782bb8e620ca30e968 (patch)
tree6b2393f0958bbdd47205f6558e8940ff338c381f /hash.h
parentblock-sha1: undo ctx->size change (diff)
downloadtgif-b8e48a89b8f581eaf95b57782bb8e620ca30e968.tar.xz
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>
Diffstat (limited to 'hash.h')
0 files changed, 0 insertions, 0 deletions