Pavel Tupitsyn created IGNITE-2626:
--------------------------------------

             Summary: Binary marshaller: sort fields alphabetically
                 Key: IGNITE-2626
                 URL: https://issues.apache.org/jira/browse/IGNITE-2626
             Project: Ignite
          Issue Type: Improvement
          Components: cache, platforms
    Affects Versions: 1.1.4
            Reporter: Pavel Tupitsyn
             Fix For: 1.6


Currently we write object fields in the order they come from reflection.
1) There is no guarantee that this order is consistent across multiple calls
2) Platforms may have corresponding objects with different field order

=> There are situations when write and read field order is different, which 
hurts performance.

Sorting fields alphabetically in Java and platforms will ensure the same 
ordering.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to