You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/09/25 03:15:34 UTC

[jira] [Commented] (HBASE-11907) Use the joni byte[] regex engine in place of j.u.regex in RegexStringComparator

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

Andrew Purtell commented on HBASE-11907:
----------------------------------------

This is ready to go. Other uses of j.u.regex in HBase code deal with strings already, e.g. paths, configuration. One place we might use it is in HTD/HCD attribute parsing but it's not worth it. 

> Use the joni byte[] regex engine in place of j.u.regex in RegexStringComparator
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-11907
>                 URL: https://issues.apache.org/jira/browse/HBASE-11907
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 2.0.0, 0.98.7, 0.99.1
>
>         Attachments: HBASE-11907.patch, HBASE-11907.patch
>
>
> The joni regex engine (https://github.com/jruby/joni), a Java port of Oniguruma regexp library done by the JRuby project, is:
> - MIT licensed
> - Designed to work with byte[] arguments instead of String
> - Capable of handling UTF8 encoding
> - Regex syntax compatible
> - Interruptible
> - *About twice as fast as j.u.regex*
> - Has JRuby's jcodings library as a dependency, also MIT licensed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)