hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16658) Optimize UTF8 string/byte conversions
Date Tue, 20 Sep 2016 14:38:20 GMT

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

Ted Yu commented on HBASE-16658:
--------------------------------

lgtm

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

Mime
View raw message