diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-28 05:23:20 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-01 18:22:59 +0000 |
commit | dae620066284c4c8c35d73941dfecdbc00a2b1b6 (patch) | |
tree | 96689fc027b8b76cb01e068cca181cb12b8a0eed /libpod/oci.go | |
parent | 83f40de9652712baf84379f3292dc4f4f103ce50 (diff) | |
download | podman-dae620066284c4c8c35d73941dfecdbc00a2b1b6.tar.gz podman-dae620066284c4c8c35d73941dfecdbc00a2b1b6.tar.bz2 podman-dae620066284c4c8c35d73941dfecdbc00a2b1b6.zip |
Use []pullRefName instead of []*pullRefName
We are passing the values, don't really need the pointer sharing semantics,
and the structures are small enough, and the arrays short enough,
that we very likely lose on the indirect accesses more than we save on
quicker copying of the slices when extending them. Value semantics
is safer anyway.
Should not change behavior.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Closes: #1176
Approved by: rhatdan
Diffstat (limited to 'libpod/oci.go')
0 files changed, 0 insertions, 0 deletions