Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In CALCITE-5706, we added class PairList; in this change, we add ImmutablePairList, which is optimized for cases where the list does not change after creation. The implementation stores entries in an array, rather than a list, saving memory allocations and indirection.
PairList and ImmutablePairList are now interfaces; this allows us to have multiple implementations that do not have a common base class.