Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-663

RegexFilter make unecessary object creations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.5-incubating, 1.3.6, 1.4.0, 1.4.1
    • 1.4.2, 1.5.0
    • tserver
    • None

    Description

      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.

      Attachments

        Activity

          People

            kturner Keith Turner
            vines John Vines
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: