Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2682

Enable counter on HTreeMap used by LocalEnumeratedIndex

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.4.1.Final
    • 5.4.0.Final
    • Indexing
    • None

      LocalEnumeratedIndex uses MapDB API DB.getHashSet to create HashSets. This method does not activate the counter on the created HTreeMap which leads to very poor performance when calling LocalEnumeratedIndex.estimateTotalCount() since it will requires to scan the whole collection.

      The HTreeMap should be created differently by the LocalEnumeratedIndex to enable the counter.

              hchiorean Horia Chiorean (Inactive)
              amischler Antoine Mischler (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: