author | Nicolas Pitre <nico@cam.org> | |
Fri, 29 Aug 2008 20:08:02 +0000 (16:08 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 30 Aug 2008 04:51:28 +0000 (21:51 -0700) | ||
commit | d35825da6d5570524234e1bfe4ff0f57957b6db3 | |
tree | 1a02c65f37b000e5fae836fc8da11dc0d244fd20 | tree | snapshot |
parent | 8522148f79c29ef8f63688e7186e458a22333224 | commit | diff |
fixup_pack_header_footer(): use nicely aligned buffer sizes
It should be more efficient to use nicely aligned buffer sizes, either
for filesystem operations or SHA1 checksums. Also, using a relatively
small nominal size might allow for the data to remain in L1 cache
between both SHA1_Update() calls.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
It should be more efficient to use nicely aligned buffer sizes, either
for filesystem operations or SHA1 checksums. Also, using a relatively
small nominal size might allow for the data to remain in L1 cache
between both SHA1_Update() calls.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-write.c | diff | blob | history |