You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (Updated) (JIRA)" <ji...@apache.org> on 2012/02/07 08:01:00 UTC

[jira] [Updated] (CASSANDRA-3869) [patch] don't duplicate ByteBuffers when hashing

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

Dave Brosius updated CASSANDRA-3869:
------------------------------------

    Attachment: dont_dup_bb_for_hash.diff
    
> [patch] don't duplicate ByteBuffers when hashing
> ------------------------------------------------
>
>                 Key: CASSANDRA-3869
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3869
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>         Attachments: dont_dup_bb_for_hash.diff
>
>
> given how often hashing of ByteBuffers occurs, don't duplicate the ByteBuffer when hashing. (trivial - as the byte array was never copied just the BB wrapper -- but still).

--
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