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

add toIntArray method to PositiveIntSet to permit use in Delta Cas journaling

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      When a CAS is delta-serialized, the journal is processed to convert it to a set of adds, removes, and reindexes. This process needs add, remove and find operations on sets of ints. It is using the IntSet implementation, which underneath uses the IntVector data structure - which is very fast for add, but order (size) for contains / removes, etc. Change this to the PositiveIntSet (requires adding toIntArray method to PositiveIntSet), which has order 1 contains/remove operations.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: