ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-4645) Best effort to avoid extra copying in binary marshaller
Date Thu, 16 Feb 2017 13:17:42 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-4645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Vladimir Ozerov reassigned IGNITE-4645:

         Assignee: Igor Seliverstov  (was: Vladimir Ozerov)
    Fix Version/s:     (was: 1.9)

We cannot have {{BinaryClassDescriptor}} as a field of {{BinaryWriterExImpl}} because single
writer will serialize multiple objects, possibly of different classes.

Instead, it makes sense to pass pre-fetched descriptor to {{BinaryWriterExImpl.marshal}} method.

> Best effort to avoid extra copying in binary marshaller
> -------------------------------------------------------
>                 Key: IGNITE-4645
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4645
>             Project: Ignite
>          Issue Type: Bug
>          Components: binary
>            Reporter: Yakov Zhdanov
>            Assignee: Igor Seliverstov
>             Fix For: 2.0
> If we marshal a class that contain only primitives then we can predict the final byte
array size and avoid copies to grow array and final trimming.

This message was sent by Atlassian JIRA

View raw message