Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 64BBB10B28 for ; Mon, 16 Dec 2013 14:45:47 +0000 (UTC) Received: (qmail 59071 invoked by uid 500); 16 Dec 2013 14:45:41 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 58689 invoked by uid 500); 16 Dec 2013 14:45:25 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 58581 invoked by uid 99); 16 Dec 2013 14:45:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Dec 2013 14:45:15 +0000 Date: Mon, 16 Dec 2013 14:45:15 +0000 (UTC) From: "Tie Liu (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AVRO-1348) Improve Utf8 to String conversion 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/AVRO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849206#comment-13849206 ] Tie Liu commented on AVRO-1348: ------------------------------- Another note about this is, change to use string literal "UTF-8" will remove the creation of java.lang.StringCoding.StringEncoder, which can be critical in our systems that's time sensitive and trying to reduce GC. > Improve Utf8 to String conversion > --------------------------------- > > Key: AVRO-1348 > URL: https://issues.apache.org/jira/browse/AVRO-1348 > Project: Avro > Issue Type: Bug > Reporter: Mark Wagner > Assignee: Mohammad Kamrul Islam > Attachments: AVRO-1348v2.patch, AVRO1348v1.patch > > > AVRO-1241 found that the existing method of creating Strings from Utf8 byte arrays could be made faster. The same method is being used in the Utf8.toString(), and could likely be sped up by doing the same thing. -- This message was sent by Atlassian JIRA (v6.1.4#6159)