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

Misc improvements to PositiveIntSet

    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

      In support of UIMA-3399 and UIMA-4059, improve the PositiveIntSet switching between underlying formats: have the changed-to format have some extra room so that it doesn't immediately need to expand. Recognize that the underlying formats typically do "doubling" of the space used, and add a fast-path if an add operation won't trigger this.

      Enhance the interface so it can be used for the FSBagIndex underlying impl, replacing IntVector, in order to support UIMA-3399.

        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: