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

Misc improvements to PositiveIntSet

    XMLWordPrintableJSON

Details

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

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

            Dates

              Created:
              Updated:
              Resolved: