f6a7763b6f
In info, we only need the number of images, but `CountImages` was getting the whole map of images and then grabbing the length from that. This causes a lot of unnecessary CPU usage and memory allocations, which increases with O(n) on the number of images. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
cache | ||
spec | ||
tarexport | ||
v1 | ||
fs.go | ||
fs_test.go | ||
image.go | ||
image_test.go | ||
rootfs.go | ||
store.go | ||
store_test.go |