[
https://issues.apache.org/jira/browse/HBASE-16658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15508200#comment-15508200
]
binlijin commented on HBASE-16658:
----------------------------------
[[email protected]] Thanks very much for the commit.
> Optimize UTF8 string/byte conversions
> -------------------------------------
>
> Key: HBASE-16658
> URL: https://issues.apache.org/jira/browse/HBASE-16658
> Project: HBase
> Issue Type: Improvement
> Reporter: binlijin
> Assignee: binlijin
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-16658-master.patch
>
>
> String/byte conversions may take either a Charset instance or its canonical
> name. One might think a Charset instance would be faster due to avoiding a
> lookup and instantiation of a Charset, but it's not. The canonical string
> name variants will cache the string encoder/decoder (obtained from a Charset)
> resulting in better performance.
> See HDFS-10662
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)