Files
alexmchughdev 9727de2d9d kube-proxy/ipvs/ipset: preallocate ListEntries result with bound capacity
ListEntries' result slice is bounded by the number of lines parsed from
the ipset output (`len(strs)`). Pass that as the make() capacity so
the slice doesn't need to be regrown as entries are appended.

No behavior change.
2026-05-06 20:04:58 +01:00
..