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/05 15:00:16 UTC

[jira] [Commented] (IGNITE-2877) .NET: Compile and cache delegates for service method invocation

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

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

GitHub user ptupitsyn opened a pull request:

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

    IGNITE-2877 .NET: Compile and cache delegates for service method invocation

    

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

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

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

    https://github.com/apache/ignite/pull/690.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 #690
    
----
commit b7123eab251b7cca2d6e2214204686c7d2dc519e
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-05T14:22:37Z

    IGNITE-2877 .NET: Compile and cache delegates for service method invocation

commit 3027d22691d450996cdca23374c97344c29ff867
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-05T14:29:36Z

    Compilation works

commit 727f4ed97aef136f875648ca5e98976dec38543b
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-05T14:41:28Z

    Fix Void handling

commit 573ffe57ce5ca2b7a39f90deb5a32868a0c278df
Author: Pavel Tupitsyn <pt...@gridgain.com>
Date:   2016-05-05T14:58:26Z

    Fix tests

----


> .NET: Compile and cache delegates for service method invocation
> ---------------------------------------------------------------
>
>                 Key: IGNITE-2877
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2877
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms
>    Affects Versions: 1.6
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Minor
>             Fix For: 1.7
>
>
> See ServiceProxyInvoker: MethodBase.Invoke is used to invoke service methods, which is not efficient (reflection).
> Instead, we can compile and cache delegates per [svcType, methodName, argCount] to eliminate overhead (see DelegateConverter).



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