summaryrefslogtreecommitdiff
path: root/mktree.c
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-09-16 10:19:01 +0200
committerJunio C Hamano <gitster@pobox.com>2007-09-16 17:30:04 -0700
commit8b6087fb25068d6af927f112a93dc056930f3108 (patch)
tree425bb358dbe7c46a5980ae4a1be4f63a03b1e783 /mktree.c
parenta08f23ab3eab67aac7163a284038f45fa99ef66f (diff)
downloadgit-8b6087fb25068d6af927f112a93dc056930f3108.tar.gz
Remove preemptive allocations.
Careful profiling shows that we spend more time guessing what pattern allocation will have, whereas we can delay it only at the point where add_rfc2047 will be used and don't allocate huge memory area for the many cases where it's not. Signed-off-by: Pierre Habouzit <madcoder@debian.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mktree.c')
0 files changed, 0 insertions, 0 deletions