diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-19 18:35:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-19 21:56:54 +0100 |
commit | fdb90ac6a6f3320a33104951e0c8505df901cc4f (patch) | |
tree | 99ac22556a9d124a442672380c47a16e78af5cc0 /catalog | |
parent | 3abaabdab73bd0f3e4f68284dc3cb00902b8e1c6 (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 'catalog')
0 files changed, 0 insertions, 0 deletions