spiegel_podman/pkg/domain
Valentin Rothberg 5ea369adef libpod: add GetConfigNoCopy()
Add a new function to libpod to directly access the runtime
configuration without creating an expensive deep copy.  Further migrate
a number of callers to this new function.

This drops the number of calls to JSONDeepCopy from 4 to 1 in a simple
`podman run --rm -d busybox top`.

Future work: Please note that there are more callers of GetConfig() that
can me migrated to GetConfigNoCopy().

[NO TESTS NEEDED]

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-09-29 14:24:09 +02:00
..
entities image prune: support removing external containers 2021-09-28 10:24:16 +02:00
filters Run codespell to fix spelling 2021-08-11 16:41:45 -04:00
infra libpod: add GetConfigNoCopy() 2021-09-29 14:24:09 +02:00
utils Add filtering functionality to http api secrets list 2021-09-03 10:29:31 +02:00