You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2015/05/15 17:20:00 UTC
[jira] [Resolved] (FLINK-1975) Graph getUndirected improvement
[ https://issues.apache.org/jira/browse/FLINK-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabian Hueske resolved FLINK-1975.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.9
Fixed with beb7f31227766cfa17691525ccc666d105d442da
> 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
> Fix For: 0.9
>
>
> 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)