cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10355) Flatten DataInputPlus type hierarchy
Date Wed, 16 Sep 2015 16:26:46 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-10355:
---------------------------------------
    Fix Version/s:     (was: 3.0.x)
                   3.x

> Flatten DataInputPlus type hierarchy
> ------------------------------------
>
>                 Key: CASSANDRA-10355
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10355
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Benedict
>             Fix For: 3.x
>
>
> Almost every instance extends {{RebufferingInputStream}} now, however there are two last
implementations hanging around that we can probably do without. If we do so, the majority
of method calls to any {{DataInputPlus}} (i.e., the majority of method calls full stop) can
be inlined by hotspot. Thus giving us behaviour pretty similar to passing around raw {{ByteBuffer}}
objects.
> It's worth a shot, anyway. 
> If it works remotely well, we should consider splitting readUnsignedVInt into its first
byte read (which we would aim to inline) and its proceeding larger read (which we would perhaps
ask not to be).



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

Mime
View raw message