Marshall Schor created UIMA-5533:
------------------------------------

             Summary: improve sorted index insert when lots of equal items
                 Key: UIMA-5533
                 URL: https://issues.apache.org/jira/browse/UIMA-5533
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
    Affects Versions: 2.10.0SDK
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor
             Fix For: 2.10.1SDK


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to