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/06 18:08:59 UTC
[jira] [Updated] (UIMA-4381) speed up flat iterator concurrent mod
check
[ https://issues.apache.org/jira/browse/UIMA-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor updated UIMA-4381:
---------------------------------
Description: 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. (was: 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. )
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)