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

Optimize BlockTree's Terms.intersect a bit for "very finite" automata

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3, 6.0
    • None
    • None
    • New

    Description

      I've been digging into why BlockTree's Terms.intersect impl is slower for a "very finite" union-of-terms test over random IDs (LUCENE-3893) and I found a few performance improvements that at least for that one use case gets a ~11% speedup.

      Attachments

        1. LUCENE-6548.patch
          28 kB
          Michael McCandless
        2. LUCENE-6548.patch
          28 kB
          Michael McCandless
        3. LUCENE-6548.patch
          54 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: