There was no reason to have two types and this avoids ~10% of allocations on the GET code path. ``` BenchmarkGet-12 100000 109045 ns/op 17608 B/op 146 allocs/op BenchmarkGet-12 100000 108850 ns/op 15942 B/op 132 allocs/op ``` Kubernetes-commit: 0489d0b1cf139253b82f73b072578073bc5616d6 |
||
---|---|---|
.. | ||
doc.go | ||
resource_config.go | ||
resource_config_test.go | ||
resource_encoding_config.go | ||
storage_codec.go | ||
storage_factory.go | ||
storage_factory_test.go |