author | Tay Ray Chuan <rctay89@gmail.com> | |
Thu, 7 Jul 2011 04:23:55 +0000 (12:23 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 7 Jul 2011 16:36:44 +0000 (09:36 -0700) | ||
commit | 452f4fa51e1fd1d0e3155fb4f4d8913298ac63a6 | |
tree | af04e7c54a1125475ccb1ddc8bff2e5336e90034 | tree | snapshot |
parent | f696543dad6c7ba27b0c4fab167a5687263a9ba0 | commit | diff |
xdiff/xprepare: use memset()
Use memset() instead of a for loop to initialize. This could give a
performance advantage.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Use memset() instead of a for loop to initialize. This could give a
performance advantage.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xprepare.c | diff | blob | history |