diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-09 18:05:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-10 11:35:52 +0100 |
commit | 2f763887b8696f2fd2d577bfbd011f3b2e889c1a (patch) | |
tree | 77ec716f37c6ba5132445e397cf4697d5908ca41 /src/Makefile | |
parent | 48d5616b9258cc5d1af1d4b934cea7970aa55a28 (diff) |
resolved: grow DnsAnswer exponentially
When increasing the DnsAnswer array, don't operate piecemeal, grow the
array exponentially.
This way, the default logic for DnsAnswer allocations matches the
behaviour for GREEDY_REALLOC and suchlike, and we can reduce the number
of necessary allocations.
Diffstat (limited to 'src/Makefile')
0 files changed, 0 insertions, 0 deletions