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

Jonathan Ellis commented on CASSANDRA-1800:
-------------------------------------------

Can we init the preserializedBuffer in RMVH w/ the byte[] we already have 
instead of rebuilding it?

Can we drop the byte[] from the apply/commitlog path in favor of calling 
getSerializedBuffer?

(Still confused as to what extra serialization we're saving here but definitely 
good code cleanup.)

> avoid double RowMutation serialization on write.
> ------------------------------------------------
>
>                 Key: CASSANDRA-1800
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1800
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>             Fix For: 0.8
>
>         Attachments: 
> v1-0001-avoid-extra-RM-serialization-on-write-remove-dead-code.txt, 
> v2-0001-avoid-extra-RM-serialization-on-write-remove-dead-code.txt
>
>


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

Reply via email to