[jira] [Created] (IGNITE-6885) .NET: Binary serialization performance: eliminate virtual calls on hot path

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-6885) .NET: Binary serialization performance: eliminate virtual calls on hot path

Anton Vinogradov (Jira)
Pavel Tupitsyn created IGNITE-6885:
--------------------------------------

             Summary: .NET: Binary serialization performance: eliminate virtual calls on hot path
                 Key: IGNITE-6885
                 URL: https://issues.apache.org/jira/browse/IGNITE-6885
             Project: Ignite
          Issue Type: Improvement
      Security Level: Public (Viewable by anyone)
          Components: platforms
            Reporter: Pavel Tupitsyn
            Priority: Minor


{{BinaryReader}} and {{BinaryWriter}} use {{IBinaryStream}} interface, which causes lots of virtual calls on every primitive read/write.

Find out if we can force the JIT to specialize generated code for different implementations by making all {{IBinaryStream}} implementations {{struct}} and making reader/writer generic.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)