containerd/core/images/archive
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
..
exporter.go adds mediatype to oci index record 2024-02-29 10:04:48 -08:00
importer.go Avoid potential reallocs by pre-sizing some slices 2024-07-19 13:05:49 -07:00
reference.go core/images/archive: normalizeReference: remove outdated TODO 2024-03-20 11:41:50 +01:00