[
https://issues.apache.org/jira/browse/HIVE-11842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791765#comment-14791765
]
Jesus Camacho Rodriguez commented on HIVE-11842:
------------------------------------------------
[~sershe], I have run some performance analysis locally and depending on the
query, compilation time might be even 20% shorter. The reason is that once we
enter in the method, we will not rebuild the operator path for each pattern
that we are trying to match (being String based operations, this is quite
expensive). In turn, the memory footprint will be a bit larger, but we should
be safe as it is delimited by the min between the max pattern length and the
max path length.
> Improve RuleRegExp by caching some internal data structures
> -----------------------------------------------------------
>
> Key: HIVE-11842
> URL: https://issues.apache.org/jira/browse/HIVE-11842
> Project: Hive
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Fix For: 2.0.0
>
> Attachments: HIVE-11842.patch
>
>
> Continuing work started in HIVE-11141.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)