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

Use a System.arraycopy more than a for

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: