Code

utils strbuf: Exponentially increase the buffer size.
authorSebastian Harl <sh@tokkee.org>
Wed, 17 Sep 2014 09:22:54 +0000 (11:22 +0200)
committerSebastian Harl <sh@tokkee.org>
Wed, 17 Sep 2014 09:22:54 +0000 (11:22 +0200)
commit28f5b4d2480d80440c8a444b5ee9c16f8b926947
treec766bbb959f65bdce9d5c0f1298618c152e303f5
parent3cd97771183ee38e5fc8c3b2268cffce3c2cb27c
utils strbuf: Exponentially increase the buffer size.

That'll make sure that lots of small writes don't result in lots of memory
reallocations.
src/utils/strbuf.c