flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Hogan (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-6268) Object reuse for Either type
Date Thu, 06 Apr 2017 16:59:41 GMT

     [ https://issues.apache.org/jira/browse/FLINK-6268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Greg Hogan closed FLINK-6268.
-----------------------------
    Resolution: Implemented

Implemented in ae17718fb9262f65b89b4551d2aecaab3ee23d9e

> Object reuse for Either type
> ----------------------------
>
>                 Key: FLINK-6268
>                 URL: https://issues.apache.org/jira/browse/FLINK-6268
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.3.0
>            Reporter: Greg Hogan
>            Assignee: Greg Hogan
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message