summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2018-08-16 06:13:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-08-16 17:56:44 (GMT)
commitfe0ac2fb7f8e87d37ef83dcee2d93901d58d8277 (patch)
tree37f990bd4446b96bdb41d09a618576ae89a20b30 /log-tree.c
parent108f530385e969feab343b2b8acadeb7bb670009 (diff)
downloadgit-fe0ac2fb7f8e87d37ef83dcee2d93901d58d8277.zip
git-fe0ac2fb7f8e87d37ef83dcee2d93901d58d8277.tar.gz
git-fe0ac2fb7f8e87d37ef83dcee2d93901d58d8277.tar.bz2
pack-objects: move 'layer' into 'struct packing_data'
This reduces the size of 'struct object_entry' from 88 bytes to 80 and therefore makes packing objects more efficient. For example on a Linux repo with 12M objects, `git pack-objects --all` needs extra 96MB memory even if the layer feature is not used. Helped-by: Jeff King <peff@peff.net> Helped-by: Duy Nguyen <pclouds@gmail.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'log-tree.c')
0 files changed, 0 insertions, 0 deletions