Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1098

Small performance enhancement for StandardAnalyzer

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.3
    • modules/analysis
    • None
    • New, Patch Available

    Description

      The class StandardAnalyzer has an inner class, SavedStreams, which is used internally for maintaining some state. This class doesn't use the implicit reference to the enclosing class, so it can be made static and reduce some memory requirements. A patch will be attached shortly.

      Attachments

        1. StandardAnalyzer.diff
          0.7 kB
          Nathan Beyer

        Activity

          People

            Unassigned Unassigned
            nbeyer Nathan Beyer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: