Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-09-16 12:19:01 +0400
committerJunio C Hamano <gitster@pobox.com>2007-09-17 04:30:04 +0400
commit8b6087fb25068d6af927f112a93dc056930f3108 (patch)
tree425bb358dbe7c46a5980ae4a1be4f63a03b1e783 /strbuf.c
parenta08f23ab3eab67aac7163a284038f45fa99ef66f (diff)
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 'strbuf.c')
0 files changed, 0 insertions, 0 deletions