Closed nabokihms closed 1 year ago
Use more popular more performant lib that is used by popular projects such as Kubernetes
goos: darwin goarch: amd64 pkg: github.com/flant/addon-operator/pkg/utils cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz BenchmarkMarge/merge-12 936 1205171 ns/op 769262 B/op 11710 allocs/op BenchmarkMarge/mergo-12 2169 584595 ns/op 128480 B/op 5552 allocs/op
Use mergo to merge values.
Overview
Use more popular more performant lib that is used by popular projects such as Kubernetes
What this PR does / why we need it
Special notes for your reviewer
Does this PR introduce a user-facing change?