Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6050

Add interface ImmutablePairList

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.36.0
    • 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.

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: