cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Weisberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10351) We should use unsignedVInt, instead of VInt methods, for size serializations
Date Wed, 16 Sep 2015 17:14:45 GMT

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

Ariel Weisberg commented on CASSANDRA-10351:
--------------------------------------------

I don't have a problem with opting for unsigned more often or updating the comment.

> We should use unsignedVInt, instead of VInt methods, for size serializations
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10351
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10351
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Benedict
>            Priority: Trivial
>             Fix For: 3.0.0 rc1
>
>
> It's not a huge deal, but it means we more rapidly use an extra byte, and just as importantly
we also have more work to do to interpret the data. Since we do this a lot, we may as well
keep it as efficient as possible for scalar values.



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

Mime
View raw message