giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Presta (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GIRAPH-531) EdgeIterables#getEdges() should reuse Edge objects
Date Tue, 12 Mar 2013 18:53:13 GMT

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

Alessandro Presta resolved GIRAPH-531.
--------------------------------------

    Resolution: Not A Problem

After GIRAPH-528 this doesn't apply anymore.
                
> EdgeIterables#getEdges() should reuse Edge objects
> --------------------------------------------------
>
>                 Key: GIRAPH-531
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-531
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Alessandro Presta
>            Assignee: Alessandro Presta
>
> Since some of our vertex implementations don't allow for mutating or keeping references
to edges returned by Vertex#getEdges(), we can consider that part of the API and exploit it
in other places.
> EdgeIterables#getEdges() currently creates a new Edge object at each iteration.
> We can reuse the object for efficiency.
> Note: this issue may become irrelevant depending on how we refactor the Vertex API (e.g.
no distinction between Vertex and SimpleVertex).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message