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 (JIRA)" <ji...@apache.org> on 2011/02/18 02:35:12 UTC

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

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


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

        

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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996592#comment-12996592 ] 

Hudson commented on CASSANDRA-2186:
-----------------------------------

Integrated in Cassandra-0.7 #293 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/293/])
    

> 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

        

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

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2186:
--------------------------------------

    Remaining Estimate: 2h
     Original Estimate: 2h

> 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
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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

        

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

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2186:
--------------------------------------

    Attachment: 2186.txt

> 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