flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1975) Graph getUndirected improvement
Date Fri, 15 May 2015 10:09:00 GMT

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

ASF GitHub Bot commented on FLINK-1975:
---------------------------------------

Github user vasia commented on the pull request:

    https://github.com/apache/flink/pull/653#issuecomment-102356828
  
    No objections! Please go ahead @fhueske, thanks a lot ^^


> Graph getUndirected improvement 
> --------------------------------
>
>                 Key: FLINK-1975
>                 URL: https://issues.apache.org/jira/browse/FLINK-1975
>             Project: Flink
>          Issue Type: Improvement
>          Components: Gelly
>    Affects Versions: 0.9
>            Reporter: Andra Lungu
>            Assignee: Andra Lungu
>            Priority: Minor
>              Labels: easyfix
>
> The current getUndirected method uses a union and a map to add the reverse edges to the
graph. This could be done by simply using a flatMap that adds the edge and its reversed version
- a flatMap is less expensive than a union followed by a map.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message