Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6268

Object reuse for Either type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.3.0
    • 1.3.0
    • None
    • None

    Description

      While reviewing test coverage for FLINK-4705 I have come across that Either only implements partial object reuse (when from and to are both Right). We can implement full object reuse if Left stores a reference to a Right and Right to a Left. These references will be private and will remain null until set by EitherSerializer when copying or deserializing with object reuse.

      Attachments

        Issue Links

          Activity

            People

              greghogan Greg Hogan
              greghogan Greg Hogan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: