[
https://issues.apache.org/jira/browse/UIMA-4188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marshall Schor resolved UIMA-4188.
----------------------------------
Resolution: Fixed
> add toIntArray method to PositiveIntSet to permit use in Delta Cas journaling
> -----------------------------------------------------------------------------
>
> Key: UIMA-4188
> URL: https://issues.apache.org/jira/browse/UIMA-4188
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Minor
> Fix For: 2.7.0SDK
>
>
> When a CAS is delta-serialized, the journal is processed to convert it to a
> set of adds, removes, and reindexes. This process needs add, remove and find
> operations on sets of ints. It is using the IntSet implementation, which
> underneath uses the IntVector data structure - which is very fast for add,
> but order (size) for contains / removes, etc. Change this to the
> PositiveIntSet (requires adding toIntArray method to PositiveIntSet), which
> has order 1 contains/remove operations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)