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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0SDK
    • Core Java Framework
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: