[ https://issues.apache.org/jira/browse/HIVE-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730632#action_12730632 ]
Zheng Shao commented on HIVE-623: --------------------------------- Text.charAt(i) is actually very expensive - it calls ByteBuffer.wrap which creates a new object. Can we directly use the UTF-8 encoding map to test whether a byte is a trailing byte or not (for both reverse and length) > Optimize length and reverse UDFs > -------------------------------- > > Key: HIVE-623 > URL: https://issues.apache.org/jira/browse/HIVE-623 > Project: Hadoop Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Emil Ibrishimov > Priority: Minor > Attachments: HIVE-623.1.patch, HIVE-623.2.patch > > > Parse Text instead of converting to String in "length", "reverse" and other > UDFs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.