You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/08/17 09:56:21 UTC
[jira] [Created] (IGNITE-3704) .NET: Serialization
micro-optimizations
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:
https://rogeralsing.com/2016/08/16/wire-writing-one-of-the-fastest-net-serializers/
In particular, this piece can be easily incorporated in our code:
{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;
...
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)