Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
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).
Attachments
Issue Links
- is superceded by
-
GIRAPH-528 Decouple vertex implementation from edge storage
- Resolved