You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2017/02/08 08:11:41 UTC

[jira] [Commented] (IGNITE-4663) BinaryUtils.doReadObjectArray can not read array with platform-only element type

    [ https://issues.apache.org/jira/browse/IGNITE-4663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15857620#comment-15857620 ] 

Alexey Kuznetsov commented on IGNITE-4663:
------------------------------------------

why we need this flag? I hardly can understand in what cases we need to not deserialize entities

> BinaryUtils.doReadObjectArray can not read array with platform-only element type
> --------------------------------------------------------------------------------
>
>                 Key: IGNITE-4663
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4663
>             Project: Ignite
>          Issue Type: Bug
>          Components: binary
>    Affects Versions: 2.0
>            Reporter: Pavel Tupitsyn
>            Assignee: Taras Ledkov
>             Fix For: 2.0
>
>
> {{BinaryUtils.doReadObjectArray}} performs unnecessary class lookup when {{deserialize = false}}. When array elements are of platform-only type ({{platformId != 0}}), the class can never be resolved. 
> * arrays of user-defined types are not supported for platforms
> * performance is suboptimal in binary mode (in Java and platforms)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)