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 2014/10/23 19:19:33 UTC
[jira] [Created] (UIMA-4060) improve int set utility impls
Marshall Schor created UIMA-4060:
------------------------------------
Summary: improve int set utility impls
Key: UIMA-4060
URL: https://issues.apache.org/jira/browse/UIMA-4060
Project: UIMA
Issue Type: Bug
Components: Core Java Framework
Affects Versions: 2.6.1SDK
Reporter: Marshall Schor
Assignee: Marshall Schor
Priority: Minor
Fix For: 2.6.1SDK
The PositiveIntSet impl has a bug in the ordered set iterator (not incrementing an index in a loop). In addition, Improve this also by eliminating expensive operations on bit Sets (such as computing the number of elements in the set), and augmenting the IntBitSet to allow a potentially much smaller footprint, by supporting an "offset" for the use case where there's a lot of fairly "dense" members, clustered at an offset from 0. Increase the hysteresis for switching among alternative impls in PositiveIntSet. Add (approximate) tracking for IntHashSet of mostNegative as well as most positive. Do some other minor cleanup - making things appropriately private / final. Add / update test cases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)