This repository has been archived by the owner on Dec 27, 2024. It is now read-only.
Apply nested structure slice optimization in stable marhalers #390
Labels
enhancement
Improving existing functionality
I4
No visible changes
S3
Minimally significant
U4
Nothing urgent
It cannot be generalized, because the implementation (
BytesMarshal
) uses knowledge about the type (ObjectID
). The main problem with generalization forNestedStructureMarshal
is the lack of a proper signature for[]Type
whereType
is generic.We can apply similar optimization for other lists too (we have about 3-4 of them), this list caught my eye first.
Originally posted by @fyrchik in #389 (comment)
The text was updated successfully, but these errors were encountered: