Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.