author | Junio C Hamano <junkio@cox.net> | |
Tue, 20 Mar 2007 05:17:10 +0000 (22:17 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 20 Mar 2007 05:17:10 +0000 (22:17 -0700) | ||
commit | 57584d9eddc3482c5db0308203b9df50dc62109c | |
tree | 304186ea149dceee7b461054f8c8b99017abf09d | tree | snapshot |
parent | 567fb65e251d946cee2b73a9b188231652fe663c | commit | diff |
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>
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 | diff | blob | history |