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

Avoid grow of Set in AnalyzingSuggester.topoSortStates(Automaton)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.10
    • 5.0, 6.0
    • core/other
    • New, Patch Available

    Description

      Converted "visited" to a BitSet and sized it correctly in AnalyzingSuggester.topoSortStates(Automaton). This avoids dynamic resizing of the set.

      Attachments

        1. AnalyzingSuggester.diff
          3 kB
          Markus Heiden

        Activity

          People

            mikemccand Michael McCandless
            markus_heiden Markus Heiden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: