You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/10/01 22:43:00 UTC
[jira] [Commented] (KAFKA-7276) Consider using re2j to speed up
regex operations
[ https://issues.apache.org/jira/browse/KAFKA-7276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634727#comment-16634727 ]
Ted Yu commented on KAFKA-7276:
-------------------------------
For #1, see the following:
http://hadoop.apache.org/docs/r3.0.2/api/org/apache/hadoop/metrics2/filter/GlobFilter.html#compile-java.lang.String-
It is used by hadoop.
> Consider using re2j to speed up regex operations
> ------------------------------------------------
>
> Key: KAFKA-7276
> URL: https://issues.apache.org/jira/browse/KAFKA-7276
> Project: Kafka
> Issue Type: Task
> Components: packaging
> Reporter: Ted Yu
> Assignee: kevin.chen
> Priority: Major
>
> https://github.com/google/re2j
> re2j claims to do linear time regular expression matching in Java.
> Its benefit is most obvious for deeply nested regex (such as a | b | c | d).
> We should consider using re2j to speed up regex operations.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)