You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/05/10 14:51:12 UTC

[jira] [Commented] (IGNITE-3097) .NET: Improve reflective serialization performance

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

ASF GitHub Bot commented on IGNITE-3097:
----------------------------------------

GitHub user ptupitsyn opened a pull request:

    https://github.com/apache/ignite/pull/698

    IGNITE-3097 .NET: Improve reflective serialization performance

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ptupitsyn/ignite ignite-3097

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/698.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #698
    
----
commit ffd0795a6c750ee281e98932515ecfa9b6f83666
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T09:20:22Z

    One serializer instance per type

commit cddf541dcecd080607d498665225cb68e07a43b3
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T09:38:26Z

    Simplify serializer code

commit 0d5656e93037c7f71aabf78f826d1c6a4170a16e
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T10:16:06Z

    wip

commit e16bb6422902a1295cc8b08f57887137fd4f31f2
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T10:25:05Z

    Fix loops

commit ebffb7431269baa9fa4fd1cdaf80ac57e463e617
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T11:20:27Z

    Refactor serializer interface

commit d388eab89d961c6453ed8f53e89f4fdbc9e4779b
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T11:34:19Z

    Fix DateTime/Serializable & handles

commit 76f6bc8f0b83a6d71d51832b96f28343e4bcdb8a
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T11:37:39Z

    Cleanup

commit 57b451d0f95a8abac3e1a748e4615d2d6ddf95a1
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T11:52:11Z

    Cleanup

commit a8f4044ac90240d5bb0857a2ff9208e3a29723bd
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T12:32:43Z

    Cleanup

commit 2155804eaf8348bb39245feb6768720eaef39e0e
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T12:54:02Z

    Fix binarizable serializer

commit 0f6a67eb472d3855cdc31659a56125277db61fe9
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T14:37:38Z

    Merge remote-tracking branch 'remotes/upstream/master' into ignite-3097

commit db8c9af6614133c248256568fddd87099e765e5a
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T14:41:15Z

    cleanup

commit 0c4f758804b9b09e0137166d099509eb9cff810f
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T14:44:42Z

    cleanup

commit a609e90818f6411775632d2fc20626feeafa8913
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-10T14:46:24Z

    cleanup

----


> .NET: Improve reflective serialization performance
> --------------------------------------------------
>
>                 Key: IGNITE-3097
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3097
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms
>    Affects Versions: 1.1.4
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>             Fix For: 1.7
>
>
> * Do not share single BinaryReflectiveSerializer between types. Use a separate instance for each type. This will eliminate descriptor dictionary lookup and simplify the code.
> * Use generic Read/Write methods in serializer to avoid casting and boxing. Maintain compatibility with existing IBinarySerializer interface by wrapping user-defined serializers.
> * Serializer should be responsible for creating new instance, not reader, to allow optimizations for certain types.
> * Remove IBinarizable check from reflective serializer



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