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

Improve efficiency of the history structure for filter caching

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      The filter caching uses a ring buffer that tracks frequencies of the hashcodes of the most-recently used filters. However it is based on an ArrayDeque<Integer> and a HashMap<Integer> which keep on (un)wrapping ints. Since the data-structure is very simple, we could try to do something better...

      Attachments

        1. LUCENE-6118.patch
          13 kB
          Adrien Grand
        2. LUCENE-6118.patch
          14 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: