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

Vladimir Loncar commented on CASSANDRA-3024:
--------------------------------------------

{quote}
What about changing RandomAccessReader to something like (Descriptor desc,...) 
rather than (File file, ....) and adding backwards compatibility there for 
fixed length/ variable length readInt/Long there?
{quote}
That's the approach I investigated. First obstacle I came across was that you 
need to override readInt(Long) which is declared final, and since this impacts 
other places (as Jonathan mentioned, streaming is one area) where it might not 
bee needed, it required more thought about implementing right.

> sstable and message varint encoding
> -----------------------------------
>
>                 Key: CASSANDRA-3024
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3024
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.1
>
>
> We could save some sstable space by encoding longs and ints as vlong and 
> vint, respectively.  (Probably most "short" lengths would be better as vint 
> as well.)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to