You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2015/01/05 23:20:34 UTC
[jira] [Created] (UIMA-4166) simplify iterators to avoid type
merging juggling when order is not needed
Marshall Schor created UIMA-4166:
------------------------------------
Summary: 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)