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

Stop creating huge arrays to represent the absense of field norms

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Creating and keeping around huge arrays that hold a constant value is very inefficient both from a heap usage standpoint and from a localility of reference standpoint. It would be much more efficient to use null to represent a missing norms table.

        Attachments

        1. LUCENE-1604.patch
          26 kB
          Michael McCandless
        2. LUCENE-1604.patch
          17 kB
          Shon Vella
        3. LUCENE-1604.patch
          14 kB
          Shon Vella
        4. LUCENE-1604.patch
          13 kB
          Shon Vella

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              svella Shon Vella
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: