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

simplify iterators to avoid type merging juggling when order is not needed

    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

      Users who use getAllIndexedFSs(type) to iterate over all FeatureStructures of a particular type, in no particular order, for types which have subtypes, use the PointerIterator implementation which juggles the collection of iterators for each subtype and "merges" them in the proper order. This is done even when the index type is a BAG. Add an alternative implementation which does the much simpler thing for these cases (where order isn't needed) that avoids the juggling operations and just goes through each index sequentially.

        Activity

        There are no comments yet on this issue.

          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:

              Development