diff options
author | Pierre Habouzit <madcoder@debian.org> | 2007-09-16 10:19:01 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-16 17:30:04 -0700 |
commit | 8b6087fb25068d6af927f112a93dc056930f3108 (patch) | |
tree | 425bb358dbe7c46a5980ae4a1be4f63a03b1e783 /strbuf.h | |
parent | a08f23ab3eab67aac7163a284038f45fa99ef66f (diff) | |
download | git-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 'strbuf.h')
0 files changed, 0 insertions, 0 deletions