author | Sebastian Harl <sh@tokkee.org> | |
Wed, 17 Sep 2014 09:22:54 +0000 (11:22 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 17 Sep 2014 09:22:54 +0000 (11:22 +0200) | ||
commit | 28f5b4d2480d80440c8a444b5ee9c16f8b926947 | |
tree | c766bbb959f65bdce9d5c0f1298618c152e303f5 | tree | snapshot |
parent | 3cd97771183ee38e5fc8c3b2268cffce3c2cb27c | commit | diff |
utils strbuf: Exponentially increase the buffer size.
That'll make sure that lots of small writes don't result in lots of memory
reallocations.
That'll make sure that lots of small writes don't result in lots of memory
reallocations.
src/utils/strbuf.c | diff | blob | history |