cassandra-commits mailing list archives

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


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

> Flatten DataInputPlus type hierarchy
> ------------------------------------
>                 Key: CASSANDRA-10355
>                 URL:
>             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}}
> 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

View raw message