Julian Hyde created CALCITE-6050:
------------------------------------
Summary: Add interface ImmutablePairList
Key: CALCITE-6050
URL: https://issues.apache.org/jira/browse/CALCITE-6050
Project: Calcite
Issue Type: Improvement
Reporter: Julian Hyde
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)