[
https://issues.apache.org/jira/browse/IGNITE-16188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17466109#comment-17466109
]
Nikolay Izhikov commented on IGNITE-16188:
------------------------------------------
> could you please explain the reason why singleton lists here are so bad?
It's not "so bad" it's just useless.
> You could rather replace the type of "writeEntries" from "List" to "Object"
> and store either data entry or the full list depending on the amount of
> entries.
Yes, this approach looks simplier.
> Eliminate creation of singleton list for DataRecord
> ---------------------------------------------------
>
> Key: IGNITE-16188
> URL: https://issues.apache.org/jira/browse/IGNITE-16188
> Project: Ignite
> Issue Type: Improvement
> Reporter: Nikolay Izhikov
> Assignee: Nikolay Izhikov
> Priority: Major
>
> For most DataRecord intermidiate {{Collections.singletonList}} created.
> It possible to eliminate this object with {{SingleDataRecord}},
> {{MultiDataRecord}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)