mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 16:42:51 +00:00
Change the backing data structure of VarSet from slice to map
This will speed up most operations performed on a large set of Vars
This commit is contained in:
committed by
Jerome Brette
parent
8bf20527be
commit
b1cdf581d0
@@ -28,7 +28,7 @@ func MakeEmptyAccumulator() *ResAccumulator {
|
||||
ra := &ResAccumulator{}
|
||||
ra.resMap = resmap.New()
|
||||
ra.tConfig = &config.TransformerConfig{}
|
||||
ra.varSet = types.VarSet{}
|
||||
ra.varSet = types.NewVarSet()
|
||||
return ra
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user