You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/29 17:44:13 UTC
[jira] [Commented] (FLINK-3853) Reduce object creation in Gelly
utility mappers
[ https://issues.apache.org/jira/browse/FLINK-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15264217#comment-15264217 ]
ASF GitHub Bot commented on FLINK-3853:
---------------------------------------
GitHub user greghogan opened a pull request:
https://github.com/apache/flink/pull/1951
[FLINK-3853] [gelly] Reduce object creation in Gelly utility mappers
Gelly contains a set of MapFunction between Vertex and Tuple2 and between Edge and Tuple3. A Vertex is a Tuple2 and an Edge is a Tuple3, and conversion in the opposite direction can be performed with a single object per MapFunction.
This only applies to the Gelly Java API. Scala tuples are not related to Vertex or Edge.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/greghogan/flink 3853_reduce_object_creation_in_gelly_utility_mappers
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1951.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1951
----
commit 854a093c8256a6a3665eba4ee5820ca4c9e72b12
Author: Greg Hogan <co...@greghogan.com>
Date: 2016-04-29T13:42:08Z
[FLINK-3853] [gelly] Reduce object creation in Gelly utility mappers
Gelly contains a set of MapFunction between Vertex and Tuple2 and
between Edge and Tuple3. A Vertex is a Tuple2 and an Edge is a Tuple3,
and conversion in the opposite direction can be performed with a single
object per MapFunction.
This only applies to the Gelly Java API. Scala tuples are not related to
Vertex or Edge.
----
> Reduce object creation in Gelly utility mappers
> -----------------------------------------------
>
> Key: FLINK-3853
> URL: https://issues.apache.org/jira/browse/FLINK-3853
> Project: Flink
> Issue Type: Improvement
> Components: Gelly
> Affects Versions: 1.1.0
> Reporter: Greg Hogan
> Assignee: Greg Hogan
> Fix For: 1.1.0
>
>
> Gelly contains a set of {{MapFunction}} between {{Vertex}} and {{Tuple2}} and between {{Edge}} and {{Tuple3}}. A {{Vertex}} is a {{Tuple2}} and an {{Edge}} is a {{Tuple3}}, and conversion in the opposite direction can be performed with a single object per {{MapFunction}}.
> This only applies to the Gelly Java API. Scala tuples are not related to {{Vertex}} or {{Edge}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)