You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/11/06 19:18:00 UTC
[jira] [Updated] (IGNITE-3704) .NET: Serialization
micro-optimizations
[ https://issues.apache.org/jira/browse/IGNITE-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-3704:
------------------------------------
Fix Version/s: (was: 1.8)
2.0
> .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
> Labels: .net
> Fix For: 2.0
>
>
> 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)