bd2019us created ACCUMULO-4864:
----------------------------------
Summary: PATCH - Use String.replace() instead of
String.replaceAll() when replaceAll() does not use a regex
Key: ACCUMULO-4864
URL: https://issues.apache.org/jira/browse/ACCUMULO-4864
Project: Accumulo
Issue Type: Improvement
Components: wikisearch
Reporter: bd2019us
Use String.replace() instead of String.replaceAll() when replaceAll() does not
use a regex
Affected files
#
query/src/main/java/org/apache/accumulo/examples/wikisearch/iterator/BooleanLogicIterator.java
A performance overhead is incurred by replaceAll() because it attempts to
compile any regex expression. Using replace() instead when a regex is not
utilized can save this performance overhead
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)