cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Weisberg (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9499) Introduce writeVInt method to DataOutputStreamPlus
Date Tue, 16 Jun 2015 00:56:01 GMT


Ariel Weisberg commented on CASSANDRA-9499:

I did all the changes except for trying to make readVInt faster. 

It isn't so simple which is why I didn't do it. I can't leave any padding (fake reads), and
I can't over consume (lost data). I would end up having to make things right after I have
figured out how many bytes I have actually consumed or alternatively I would have to make
a copy (which could easily be faster). This is much simpler, but if you think its necessary
I'll do it.

> Introduce writeVInt method to DataOutputStreamPlus
> --------------------------------------------------
>                 Key: CASSANDRA-9499
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Ariel Weisberg
>            Priority: Minor
>             Fix For: 3.0 beta 1
> CASSANDRA-8099 really could do with a writeVInt method, for both fixing CASSANDRA-9498
but also efficiently encoding timestamp/deletion deltas. It should be possible to make an
especially efficient implementation against BufferedDataOutputStreamPlus.

This message was sent by Atlassian JIRA

View raw message