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

Speedup of CharArraySet#copy if a CharArraySet instance is passed to copy.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 4.0-ALPHA
    • modules/analysis
    • None
    • New, Patch Available

    Description

      the copy method should use the entries array itself to copy the set internally instead of iterating over all values. this would speedup copying even small set

      Attachments

        1. LUCENE-2169.patch
          8 kB
          Simon Willnauer
        2. LUCENE-2169.patch
          8 kB
          Uwe Schindler
        3. LUCENE-2169.patch
          8 kB
          Uwe Schindler
        4. LUCENE-2169.patch
          5 kB
          Simon Willnauer

        Activity

          People

            uschindler Uwe Schindler
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: