[
https://issues.apache.org/jira/browse/GIRAPH-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612196#comment-13612196
]
Eli Reisman commented on GIRAPH-579:
------------------------------------
Really clever idea. Patch looks good. +1 on idea, will build when Hive-Io maven
repo issues are fixed and i can verify the patch. ;)
> Make it possible to use different out-edges data structures for input and
> computation
> -------------------------------------------------------------------------------------
>
> Key: GIRAPH-579
> URL: https://issues.apache.org/jira/browse/GIRAPH-579
> Project: Giraph
> Issue Type: New Feature
> Reporter: Alessandro Presta
> Assignee: Alessandro Presta
> Attachments: GIRAPH-579.patch, GIRAPH-579.patch
>
>
> In some cases, the properties we want in the VertexEdges implementation
> during input may differ from the ones we want during computation.
> Two examples:
> 1) During input, we want to keep only the top K edges according to weight, so
> we use a fixed-size min-heap. During computation, our algorithm needs fast
> random access, so we use a hash-map.
> 2) We have a VertexEdges implementation that's optimized for space and/or
> iteration speed, but has slow insertion. We can then use a different data
> structure that has fast insertion during input.
> We can add an option to specify a different VertexEdges class to be used in
> EdgeStore during input.
--
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