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] [Commented] (IGNITE-4695) Write primitive fields before during binary object marshalling
Date Tue, 18 Apr 2017 10:16:41 GMT

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

Vladimir Ozerov commented on IGNITE-4695:
-----------------------------------------

No way, we sort fields alphabetically in order to get consistent hash code.

> Write primitive fields before during binary object marshalling
> --------------------------------------------------------------
>
>                 Key: IGNITE-4695
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4695
>             Project: Ignite
>          Issue Type: Improvement
>          Components: binary
>            Reporter: Igor Seliverstov
>             Fix For: 2.1
>
>
> Now serializing objects we sort fields on the basis of their names. To prvide better
performance it makes sense to change this behavior.
> The main idea to provide an ability of streaming deserialization putting primitive fields
at the start of the result array in fixed order at the serialization time. 
> This way everything what we need to deserialize the object is just read its fields in
the same order without getting their positions from footer.



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

Mime
View raw message