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

Make FixedBitSet and SparseFixedBitSet share a wider common interface

Details

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

    Description

      Today, the only common interfaces that these two classes share are Bits and Accountable. I would like to add a BitSet base class that would be both extended by FixedBitSet and SparseFixedBitSet. The idea is to share more code between these two impls and make them interchangeable for more use-cases so that we could just use one or the other based on the density of the data that we are working on.

      Attachments

        1. LUCENE-6021.patch
          121 kB
          Adrien Grand
        2. LUCENE-6021.patch
          121 kB
          Adrien Grand

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: