John Vines created ACCUMULO-663:
-----------------------------------

             Summary: RegexFilter make unecessary object creations
                 Key: ACCUMULO-663
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-663
             Project: Accumulo
          Issue Type: Improvement
          Components: tserver
    Affects Versions: 1.4.1, 1.3.6, 1.4.0, 1.3.5
            Reporter: John Vines
            Assignee: Keith Turner
             Fix For: 1.5.0, 1.4.2


Our accept method utilizes a matches method which takes in a Matcher and the 
appropriate field data. If the Matcher is null, it kicks back quickly. However, 
the various methods to pull out field data copy data. We should do the Matcher 
check in the accept method to short circuit and prevent the unnecessary object 
creation. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to