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/05/05 21:28:00 UTC
[jira] [Created] (UIMA-4381) speed up flat iterator concurrent mod
check
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)