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

Use a System.arraycopy more than a for

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      In org.apache.lucene.index.DocumentWriter. The patch will explain by itself. I didn't make any performance test, but I think it is obvious that it will be faster.
      All tests passed.

        Attachments

        1. DocumentWriter.patch
          1 kB
          Nicolas Lalevée

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hibou Nicolas Lalevée
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: