You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/02/18 15:54:39 UTC

[jira] Commented: (CASSANDRA-2186) Use get, put methods in ByteBufferUtil instead of looping over Direct buffers

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

Sylvain Lebresne commented on CASSANDRA-2186:
---------------------------------------------

+1

I've also open CASSANDRA-2194 and attached unit tests for those function (and other ByteBufferUtil) and checked that this patch passes those tests.

> Use get, put methods in ByteBufferUtil instead of looping over Direct buffers
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2186
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2186
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.3
>
>         Attachments: 2186.txt
>
>
> get and put have bulk overloads that are thin layers over fast native copies. This will be faster than manually for-looping.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira