You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2019/04/22 17:37:00 UTC

[jira] [Commented] (GEODE-6686) FilterRoutingInfo.FilterInfo.toData could be optimized to not allocate a byte array every time

    [ https://issues.apache.org/jira/browse/GEODE-6686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823271#comment-16823271 ] 

Darrel Schneider commented on GEODE-6686:
-----------------------------------------

I have a possible fix for this in: 

d98fb6b77839c567cdb8d4637a225ae203926d97

> FilterRoutingInfo.FilterInfo.toData could be optimized to not allocate a byte array every time
> ----------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6686
>                 URL: https://issues.apache.org/jira/browse/GEODE-6686
>             Project: Geode
>          Issue Type: Improvement
>          Components: serialization
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Major
>              Labels: performance
>
> FilterRoutingInfo.FilterInfo.toData could be optimized to not allocate a byte array every time.
> Currently it always allocates a new byte array in a HeapDataOutputStream. It could instead the thread local byte array cache.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)