blame: micro-optimize cmp_suspect()
commit57584d9eddc3482c5db0308203b9df50dc62109c
authorJunio C Hamano <junkio@cox.net>
Tue, 20 Mar 2007 05:17:10 +0000 (19 22:17 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 20 Mar 2007 05:17:10 +0000 (19 22:17 -0700)
tree304186ea149dceee7b461054f8c8b99017abf09d
parent567fb65e251d946cee2b73a9b188231652fe663c
blame: micro-optimize cmp_suspect()

The commit structures are guaranteed their uniqueness by the object
layer, so we can check their address and see if they are the same
without going down to the object sha1 level.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-blame.c