[ 
https://issues.apache.org/jira/browse/GIRAPH-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600315#comment-13600315
 ] 

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: https://issues.apache.org/jira/browse/GIRAPH-548
>             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: http://www.atlassian.com/software/jira

Reply via email to