giraph-dev mailing list archives

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


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:
>             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:

View raw message