cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9499) Introduce writeVInt method to DataOutputStreamPlus
Date Tue, 23 Jun 2015 12:10:01 GMT


Sylvain Lebresne commented on CASSANDRA-9499:

It's a minor detail, but since TypeSizes only has {{NATIVE}} now, it would felt cleaner to
me to actually ditch the instance and make all methods static, which would save from passing
the same object to every {{serializedSize}} method. Note that I don't mind if you prefer doing
that as a separate ticket, but since it's a pretty simple and automatic change and a consequence
of this, figure it's as simple to get that done here. Let's call it a suggestion :)

> 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