summaryrefslogtreecommitdiff
path: root/src/modules-load
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-19 18:35:32 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-19 21:56:54 +0100
commitfdb90ac6a6f3320a33104951e0c8505df901cc4f (patch)
tree99ac22556a9d124a442672380c47a16e78af5cc0 /src/modules-load
parent3abaabdab73bd0f3e4f68284dc3cb00902b8e1c6 (diff)
networkd: optimize link_node_enumerator() a bit
strv_consume() is pretty expensive when invoked piecemeal, hence optimize it a bit by pre-allocating a properly sized array.
Diffstat (limited to 'src/modules-load')
0 files changed, 0 insertions, 0 deletions