Is your feature request related to a problem? Please describe.
Currently, all collection data types are serialized as copies to prevent mutation, but for mixins like DataClassORJSONMixin we can avoid that and improve serialization performance. The list of mixins that use their own dialects:
DataClassORJSONMixin
DataClassMessagePackMixin
DataClassTOMLMixin
Describe the solution you'd like
Introduce no_copy dialect option.
Is your feature request related to a problem? Please describe. Currently, all collection data types are serialized as copies to prevent mutation, but for mixins like
DataClassORJSONMixin
we can avoid that and improve serialization performance. The list of mixins that use their own dialects:DataClassORJSONMixin
DataClassMessagePackMixin
DataClassTOMLMixin
Describe the solution you'd like Introduce
no_copy
dialect option.