ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-3704) .NET: Serialization micro-optimizations
Date Wed, 17 Aug 2016 09:56:21 GMT
Pavel Tupitsyn created IGNITE-3704:

             Summary: .NET: Serialization micro-optimizations
                 Key: IGNITE-3704
                 URL: https://issues.apache.org/jira/browse/IGNITE-3704
             Project: Ignite
          Issue Type: Improvement
          Components: platforms
    Affects Versions: 1.4
            Reporter: Pavel Tupitsyn
             Fix For: 1.8

There are some clever ideas in the article:

In particular, this piece can be easily incorporated in our code:

public ValueSerializer GetSerializerByType(Type type)
  if (ReferenceEquals(type.GetTypeInfo().Assembly, ReflectionEx.CoreAssembly))
    if (type == TypeEx.StringType) //we simply keep a reference to each primitive type
      return StringSerializer.Instance;

This message was sent by Atlassian JIRA

View raw message