containerd/cmd/ctr/commands/images
Danny Canter b41bb6df73 Avoid potential reallocs by pre-sizing some slices
There's a couple spots where we know exactly how large
the destination buffer should be, so pre-size these to
avoid any reallocs to a higher capacity.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2024-07-19 13:05:49 -07:00
..
convert.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
export.go Avoid potential reallocs by pre-sizing some slices 2024-07-19 13:05:49 -07:00
images.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
import.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
inspect.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
mount.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
pull.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
push.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
tag.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
unmount.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00
usage.go cmd: don't alias context package, and use cliContext for cli.Context 2024-06-20 02:15:13 +02:00