[
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)
2.0
[~gvvinblade],
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
(v6.3.15#6346)