You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2021/01/18 13:42:00 UTC
[jira] [Commented] (IGNITE-13883) .NET: Performance: Refactor
BinarySystemHandlers.TryReadSystemType to switch-case
[ https://issues.apache.org/jira/browse/IGNITE-13883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267292#comment-17267292 ]
Maxim Muzafarov commented on IGNITE-13883:
------------------------------------------
Cherry-picked to 2.10
> .NET: Performance: Refactor BinarySystemHandlers.TryReadSystemType to switch-case
> ---------------------------------------------------------------------------------
>
> Key: IGNITE-13883
> URL: https://issues.apache.org/jira/browse/IGNITE-13883
> Project: Ignite
> Issue Type: Improvement
> Components: platforms
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Minor
> Labels: .NET
> Fix For: 2.10
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> {{BinarySystemHandlers.TryReadSystemType}} is too clever with interfaces and generics:
> * Hard to understand and maintain
> * Possibly causes overhead due to virtual method calls
> Refactor to switch-case and check if performance improves.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)