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

Stop creating huge arrays to represent the absense of field norms

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9
    • 2.9
    • core/index
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: