[ 
https://issues.apache.org/jira/browse/FLINK-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16409999#comment-16409999
 ] 

Ken Krugler commented on FLINK-9058:
------------------------------------

Would it make sense to file a related enhancement issue, for the 
{{ListCheckpointed}} methods to take/return iterables to avoid wasteful memory 
allocations, for the case where the state isn't also an in-memory list?

> Relax ListState.addAll() and ListState.update() to take Iterable
> ----------------------------------------------------------------
>
>                 Key: FLINK-9058
>                 URL: https://issues.apache.org/jira/browse/FLINK-9058
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>            Priority: Major
>             Fix For: 1.5.0
>
>
> [~srichter] What do you think about this. None of the implementations require 
> the parameter to actually be a list and allowing an {{Iterable}} there allows 
> calling it in situations where all you have is an {{Iterable}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to