]> git.ipfire.org Git - thirdparty/git.git/commit - pack-write.c
fixup_pack_header_footer(): use nicely aligned buffer sizes
authorNicolas Pitre <nico@cam.org>
Fri, 29 Aug 2008 20:08:02 +0000 (16:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 30 Aug 2008 04:51:28 +0000 (21:51 -0700)
commitd35825da6d5570524234e1bfe4ff0f57957b6db3
tree1a02c65f37b000e5fae836fc8da11dc0d244fd20
parent8522148f79c29ef8f63688e7186e458a22333224
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>
pack-write.c