[
https://issues.apache.org/jira/browse/UIMA-4166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marshall Schor resolved UIMA-4166.
----------------------------------
Resolution: Fixed
> simplify iterators to avoid type merging juggling when order is not needed
> --------------------------------------------------------------------------
>
> Key: UIMA-4166
> URL: https://issues.apache.org/jira/browse/UIMA-4166
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Minor
> Fix For: 2.7.0SDK
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)