You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/02/11 13:26:18 UTC

[jira] [Created] (IGNITE-2626) Binary marshaller: sort fields alphabetically

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)