Files
containerd/pkg/cri/sbserver
Sebastiaan van Stijn 4f39b164f3 pkg/cri: optimize slice initialization
Some of this code was originally added in b7b1200dd3,
which likely meant to initialize the slice with a length to reduce allocations,
however, instead of initializing with a zero-length and a capacity, it
initialized the slice with a fixed length, which was corrected in commit
0c63c42f81.

This patch initializes the slice with a zero-length and expected capacity.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-24 20:46:20 +01:00
..
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2023-01-17 14:36:21 -08:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2023-01-03 12:47:16 -08:00
2022-12-23 09:23:56 +00:00
2022-07-13 10:54:59 -07:00
2022-12-14 01:47:22 -08:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-29 16:08:07 -07:00
2023-01-17 14:26:16 -08:00
2022-07-13 10:54:59 -07:00
2022-12-23 09:23:56 +00:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00
2022-07-13 10:54:59 -07:00