mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue Reduce allocations during conversion, enable new UnsafeConvertToVersion path Cleans up the conversion path to avoid a few unnecessary allocations, then creates a new UnsafeConvertToVersion path that will allow encode/decode to bypass copying the object for performance. In that subsequent PR, ConvertToVersion will start to call Copy() and we will refactor conversions to reuse as much of the existing object as possible. Also changes the unversioned.ObjectKind signature to not require allocations - speeds up a few common paths. |
||
---|---|---|
.. | ||
testdata/v1 | ||
doc.go | ||
events.go | ||
events_test.go | ||
name.go | ||
name_test.go | ||
schema.go | ||
schema_test.go | ||
validation.go | ||
validation_test.go |