avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tie Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1348) Improve Utf8 to String conversion
Date Mon, 16 Dec 2013 14:45:15 GMT

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

Mime
View raw message