Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
The various serialization methods which start from the indexed types call the getIndexedFSs to get the indexes for 1 view. This method does extra array creation and sorting / deduping, not needed if there's a guarantee of no duplicates. This is now possible due to the change to add default bag indices (no need to merge "set" indices), and if allow_duplicate_add_to_indices is not specified. Eliminate this extra overhead in that case, and also use "bulk" methods where possible that avoid iterating and use things like System.arraycopy to accumulate the results.