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] [Commented] (IGNITE-1835) .Net: Use thread-local pool to store schemas in PortableWriter
Date Tue, 03 Nov 2015 12:47:27 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987203#comment-14987203

Pavel  Tupitsyn commented on IGNITE-1835:

I'm not sure about shrinking. If the array has come to a certain size, it happened for a reason,
and it will probably happen again. Doing 2 reallocations of an array on each write will perform

And we are talking about laughable savings here. In Java there is a 256*4=1KB limit for the

> .Net: Use thread-local pool to store schemas in PortableWriter
> --------------------------------------------------------------
>                 Key: IGNITE-1835
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1835
>             Project: Ignite
>          Issue Type: Task
>          Components: interop
>    Affects Versions: 1.5
>            Reporter: Pavel  Tupitsyn
>            Assignee: Pavel  Tupitsyn
>             Fix For: 1.5
> Avoid array allocations in PortableWriter by keeping a single ThreadLocal array to store
schema fields.
> See SchemaHolder in Java.

This message was sent by Atlassian JIRA

View raw message