author | Junio C Hamano <junkio@cox.net> | |
Sun, 10 Sep 2006 05:21:27 +0000 (22:21 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 10 Sep 2006 05:21:27 +0000 (22:21 -0700) | ||
commit | a41fae9c46a4cb5e59cc1a17d19f6a3a6cbfbb2f | |
tree | 40ce41c0822095c933b462f05a990485c5eb7135 | tree | snapshot |
parent | 2878836c5074be92b913c95446b94bbf1c9a9e1d | commit | diff |
get_sha1_hex() micro-optimization
The function appeared high on a gprof output for a rev-list run of
a non-trivial size, and it was an obvious low-hanging fruit.
The code is from Linus.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The function appeared high on a gprof output for a rev-list run of
a non-trivial size, and it was an obvious low-hanging fruit.
The code is from Linus.
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c | diff | blob | history |