You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Eric Newton (JIRA)" <ji...@apache.org> on 2012/10/15 16:44:02 UTC

[jira] [Resolved] (ACCUMULO-663) RegexFilter make unecessary object creations

     [ https://issues.apache.org/jira/browse/ACCUMULO-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Newton resolved ACCUMULO-663.
----------------------------------

    Resolution: Fixed

See revisions 1398308 and 1398309
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira