[ 
https://issues.apache.org/jira/browse/AVRO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13738630#comment-13738630
 ] 

Doug Cutting commented on AVRO-1348:
------------------------------------

Around the time AVRO-1241 was committed I experimented with using this 
technique in Utf8.toString().  I built a thread-safe version but was unable to 
achieve significant performance advantages.

Improvements in string performance may be possible and would be wonderful to 
have so I encourage folks to continue to look for them!  Please also submit 
benchmark results with any performance-related patches.
                
> 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: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to