Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5533

improve sorted index insert and faster findEq when lots of equal items

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.10.0SDK
    • 2.10.1SDK
    • Core Java Framework
    • None

    Description

      Use the same technique used in UIMA v3 for sorted indexes to sort by their comparator, and then if equal, to sort by their FS hashcode (== id). This fixes a performance problem when there's lots of comparator-equal (but not identical) FSs added to a sorted index. It also makes the iteration order consistent with UIMA V3, enabling verification/compares of the two versions.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: