Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.4.2SDK
-
None
Description
When entries are deleted from IntArrayRBT (used for UIMA "Set" indexes), the space used by those entries is not reclaimed. A simple fix would be to notice when the "size" went to 0, and then, if the array space used was large (say, at the multiplication-limit size), reset the storage back to the initial size. A more complex fix could be to put freed-up nodes on a free list and reuse them (this will have locality-of-reference issues, though).