giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Presta (JIRA)" <>
Subject [jira] [Commented] (GIRAPH-548) Reuse Edge objects in EdgeReader implementations
Date Tue, 12 Mar 2013 18:45:15 GMT


Alessandro Presta commented on GIRAPH-548:

Also, some VertexReader implementations can benefit from creating a VertexEdges instance directly,
initializing it with the known capacity. In that case, whether the Edge object can be reused
depends on whether the chosen VertexEdges class implements ReuseObjectsVertexEdges.
> Reuse Edge objects in EdgeReader implementations
> ------------------------------------------------
>                 Key: GIRAPH-548
>                 URL:
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Alessandro Presta
>            Assignee: Nitay Joffe
> Because read edges are serialized right away, we can actually reuse the same Edge object
in each EdgeReader instance.
> This behavior is currently optional in the Hive input formats, but it doesn't need to.
It can also be adopted in other formats (e.g. PseudoRandomEdgeInputFormat).

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