[
https://issues.apache.org/jira/browse/AVRO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847948#comment-13847948
]
Doug Cutting commented on AVRO-1348:
------------------------------------
Rob, Frank: thanks for running all these benchmarks!
The fastest implementation varies from platform to platform. We could perhaps
consider having both implementations and selecting the fastest dynamically, but
that seems like it could be fragile.
On JDK7, the current implementation is fastest. My guess is that the next
release of Avro will be run more on JDK7 than on JDK6, since the free version
of JDK6 is no longer being updated.
What do others think?
> 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)