Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA, 6.0
    • Component/s: core/FSTs
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      There are some places where an int[] could be advantageously replaced with a packed integer array.

      I am thinking (at least) of:

      • FST.nodeAddress (GrowableWriter)
      • FST.inCounts (GrowableWriter)
      • FST.nodeRefToAddress (read-only Reader)

      The serialization/deserialization methods should be modified too in order to take advantage of PackedInts.get

      {Reader,Writer}

      .

        Attachments

        1. LUCENE-4120.patch
          30 kB
          Adrien Grand
        2. LUCENE-4120.patch
          32 kB
          Adrien Grand
        3. LUCENE-4120.patch
          32 kB
          Adrien Grand

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: