[ 
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)

Reply via email to