You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Julien Aymé (JIRA)" <ji...@apache.org> on 2013/06/18 14:08:20 UTC

[jira] [Comment Edited] (CASSANDRA-5654) [patch] improve performance of JdbcDecimal.decompose

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

Julien Aymé edited comment on CASSANDRA-5654 at 6/18/13 12:07 PM:
------------------------------------------------------------------

The proposed patch, made against branch cassandra-1.1 (same changes can be applied to 1.2 or trunk)
                
      was (Author: julien.ayme@gmail.com):
    The proposed patch
                  
> [patch] improve performance of JdbcDecimal.decompose
> ----------------------------------------------------
>
>                 Key: CASSANDRA-5654
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5654
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.12, 1.2.5
>            Reporter: Julien Aymé
>            Priority: Minor
>         Attachments: cassandra-1.1-5654.diff
>
>
> JdbcDecimal.decompose creates a new byte array and copies byte per byte instead of doing a bulk copying.
> This can lead to performance degradations when lots of calls are made.
> Patch will follow

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira