[MMD] Perform a small optimization in a critical path taken often during startup.
[MMD] Perform a small optimization in a critical path taken often during startup.

I call this the "Can't libc do it?" school of resizing allocated memory.


Note that we could avoid most of these resizes with smarter default sizes.

git-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@18637 d31e2699-5ff4-0310-a27c-f18f2fbe73fe

gitster/parrot,tewk/parrot-select,youprofit/parrot,gitster/parrot,gitster/parrot,fernandobrito/parrot,fernandobrito/parrot,youprofit/parrot,gagern/parrot,gitster/parrot,FROGGS/parrot,parrot/parrot,gitster/parrot,FROGGS/parrot,parrot/parrot,gagern/parrot,parrot/parrot,gagern/parrot,gagern/parrot,fernandobrito/parrot,fernandobrito/parrot,gagern/parrot,FROGGS/parrot,tkob/parrot,tkob/parrot,tkob/parrot,tewk/parrot-select,fernandobrito/parrot,tewk/parrot-select,FROGGS/parrot,tkob/parrot,youprofit/parrot,youprofit/parrot,gagern/parrot,tewk/parrot-select,FROGGS/parrot,tkob/parrot,gitster/parrot,tewk/parrot-select,parrot/parrot,gitster/parrot,FROGGS/parrot,tewk/parrot-select,tkob/parrot,youprofit/parrot,tewk/parrot-select,fernandobrito/parrot,youprofit/parrot,FROGGS/parrot,parrot/parrot,tkob/parrot,FROGGS/parrot,fernandobrito/parrot,youprofit/parrot,tkob/parrot,youprofit/parrot,gagern/parrot