Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 67387 invoked from network); 30 Nov 2010 19:04:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Nov 2010 19:04:36 -0000 Received: (qmail 56051 invoked by uid 500); 30 Nov 2010 19:04:36 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 56035 invoked by uid 500); 30 Nov 2010 19:04:36 -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 56019 invoked by uid 99); 30 Nov 2010 19:04:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 19:04:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 19:04:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAUJ4FIv019052 for ; Tue, 30 Nov 2010 19:04:15 GMT Message-ID: <13590402.29601291143855027.JavaMail.jira@thor> Date: Tue, 30 Nov 2010 14:04:15 -0500 (EST) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1792) Reduce byte array copies when using serialization/deserialization helper methods In-Reply-To: <18822233.29211291142891713.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965345#action_12965345 ] Jonathan Ellis commented on CASSANDRA-1792: ------------------------------------------- i don't know enough about thrift internals to tell if there is potential for unflushed data to be in the TProtocol/TIOStreamTransport pipeline this way. if we can rule that out then it looks good to me. > Reduce byte array copies when using serialization/deserialization helper methods > --------------------------------------------------------------------------------- > > Key: CASSANDRA-1792 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1792 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: T Jake Luciani > Priority: Minor > Attachments: 1792_v1.txt > > > From looking at CASSANDRA-1765 it seems FBUtilities serialize and deserialize methods unnecessarily make byte[] copies due to the way TSerializer is being used. > This can be changed to avoid making any copies. > These methods are only used in a couple serializers so not a big issue at this point. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.