avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-1348) Improve Utf8 to String conversion
Date Tue, 17 Dec 2013 18:06:07 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Cutting updated AVRO-1348:
-------------------------------

    Attachment: AVRO-1348.patch

Here's a version that's faster for me with OpenJDK 1.6 and no slower with JDK 7.  This switches
implementations depending on the Java version.  Can folks please validate the performance
of this?

> 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-1348.patch, 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