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

Ariel Weisberg commented on CASSANDRA-9894:
-------------------------------------------

bq.The reason we is we cannot use any other encoding: the other two branches 
use it, so we have to in order for deserialization to know what's going on.... 
I'll add a comment to that effect, but I felt this was commented by the code.
I thought the reason you did it was to have the most compact encoding for the 
positive numbers which are going to be more common. Otherwise you could switch 
to signed everywhere?

> Serialize the header only once per message
> ------------------------------------------
>
>                 Key: CASSANDRA-9894
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9894
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Sylvain Lebresne
>            Assignee: Benedict
>             Fix For: 3.0 beta 1
>
>
> One last improvement I'd like to do on the serialization side is that we 
> currently serialize the {{SerializationHeader}} for each partition. That 
> header contains the serialized columns in particular and for range queries, 
> serializing that for every partition is wasted (note that it's only a problem 
> for the messaging protocol as for sstable we only write the header once per 
> sstable).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to