Marshall Schor created UIMA-4381:
------------------------------------
Summary: speed up flat iterator concurrent mod check
Key: UIMA-4381
URL: https://issues.apache.org/jira/browse/UIMA-4381
Project: UIMA
Issue Type: Improvement
Components: Core Java Framework
Reporter: Marshall Schor
Priority: Minor
Fix For: 2.7.1SDK
The concurrent modification check is done frequently (e.g., on each "get",
etc.) It requires finding a value mapped from a type code (for the particular
type / subtype involved). Change this map from a simple lookup (loop over all
typecodes in the map looking for the right one) to a binary search one. And
arrange to share the keys with all flat iterators using them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)