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

Reduce AutomatonTermsEnum memory usage

    XMLWordPrintableJSON

    Details

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

      Description

      Reduce AutomatonTermsEnum memory usage. It uses a long[] with size = number of automaton states, which may be large. Instead we can reduce to short[] with slightly faster performance. (I tried a FixedBitSet, but it requires to clear and this impacts negatively performance)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                broustant Bruno Roustant
                Reporter:
                broustant Bruno Roustant
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m