binlijin created HBASE-16658: -------------------------------- Summary: Optimize UTF8 string/byte conversions Key: HBASE-16658 URL: https://issues.apache.org/jira/browse/HBASE-16658 Project: HBase Issue Type: Improvement Reporter: binlijin Priority: Minor
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)