summaryrefslogtreecommitdiff
path: root/src/machine/machine.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-26 19:49:08 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-27 02:21:28 +0100
commit1b53f64b001d2a8acb398eb8d546ec4570c1f235 (patch)
tree7f54bb17c34527f741ffa92d61f1264c4b5aed2c /src/machine/machine.c
parent218685865a3a7457cb220d20b8f339618cd1d488 (diff)
systemctl: piece-meal strv extension is expensive
If we have many entries to add to an strv we really should try to be smarter than constantly realloc()ing the strv array. Instead, grow it exponentially.
Diffstat (limited to 'src/machine/machine.c')
0 files changed, 0 insertions, 0 deletions