You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/27 16:54:25 UTC

[jira] [Resolved] (CASSANDRA-4072) Clean up DataOutputBuffer

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

Jonathan Ellis resolved CASSANDRA-4072.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.1

I was thinking we should avoid the cast since that is not free at runtime, but getData and getLength are typically only called once so you're right, that's premature optimization.

Committed w/ that change and the comment reformat.
                
> Clean up DataOutputBuffer
> -------------------------
>
>                 Key: CASSANDRA-4072
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4072
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.1.1
>
>         Attachments: 4072.txt
>
>
> The DataOutputBuffer/OutputBuffer split is unnecessarily baroque.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira