cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-4072) Clean up DataOutputBuffer
Date Tue, 27 Mar 2012 14:54:25 GMT

     [ 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

        

Mime
View raw message