You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/11/30 20:04:15 UTC

[jira] Commented: (CASSANDRA-1792) Reduce byte array copies when using serialization/deserialization helper methods

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

Jonathan Ellis commented on CASSANDRA-1792:
-------------------------------------------

i don't know enough about thrift internals to tell if there is potential for unflushed data to be in the TProtocol/TIOStreamTransport pipeline this way.  if we can rule that out then it looks good to me.

> 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.