]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
hashcmp(): inline memcmp() by hand to optimize
authorIngo Molnar <mingo@elte.hu>
Thu, 28 Apr 2011 10:19:02 +0000 (12:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Apr 2011 20:18:30 +0000 (13:18 -0700)
commit1a812f3a701969824caf96803e160cbad6050520
tree8cb85f640c68e9e91cacb1e4cb67e009df66ef61
parente923eaeb901ff056421b9007adcbbce271caa7b6
hashcmp(): inline memcmp() by hand to optimize

This is reported to speed "git gc" by 18%.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h