Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAF93C714 for ; Tue, 18 Jun 2013 12:08:25 +0000 (UTC) Received: (qmail 56514 invoked by uid 500); 18 Jun 2013 12:08:22 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 56413 invoked by uid 500); 18 Jun 2013 12:08:20 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 56385 invoked by uid 99); 18 Jun 2013 12:08:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 12:08:20 +0000 Date: Tue, 18 Jun 2013 12:08:20 +0000 (UTC) From: =?utf-8?Q?Julien_Aym=C3=A9_=28JIRA=29?= To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-5654) [patch] improve performance of JdbcDecimal.decompose MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5654?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 13686625#comment-13686625 ]=20 Julien Aym=C3=A9 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) =20 was (Author: julien.ayme@gmail.com): The proposed patch =20 > [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=C3=A9 > Priority: Minor > Attachments: cassandra-1.1-5654.diff > > > JdbcDecimal.decompose creates a new byte array and copies byte per byte i= nstead 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 administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira