cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1792) Reduce byte array copies when using serialization/deserialization helper methods
Date Tue, 30 Nov 2010 19:08:12 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965348#action_12965348
] 

T Jake Luciani commented on CASSANDRA-1792:
-------------------------------------------

I assume the caller calls flush when it did something with the DataInputStream.

Internally, the transport just writes onto the DataInputStream...

> Reduce byte array copies when using serialization/deserialization helper methods 
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1792
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1792
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: T Jake Luciani
>            Priority: Minor
>         Attachments: 1792_v1.txt
>
>
> From looking at CASSANDRA-1765 it seems FBUtilities serialize and deserialize methods
unnecessarily make byte[] copies due to the way TSerializer is being used.  
> This can be changed to avoid making any copies. 
> These methods are only used in a couple serializers so not a big issue at this point.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message