[
https://issues.apache.org/jira/browse/GIRAPH-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nitay Joffe updated GIRAPH-493:
-------------------------------
Description:
We create a lot of EdgeWithSource (one per edge read) only to grab the sourceID
/ Edge out of them right after. Since we are not actually keeping these objects
around we might as well just make the interface getSourceId() and getEdge()
instead of the current get edge with source, and save on creating all of these
objects.
https://reviews.apache.org/r/9162/
was:
We create a lot of EdgeWithSource (one per edge read) only to grab the sourceID
/ Edge out of them right after. Since we are not actually keeping these objects
around we might as well just make the interface getSourceId() and getEdge()
instead of the current get edge with source, and saev on creating all of these
objects.
https://reviews.apache.org/r/9162/
> Remove EdgeWithSource
> ---------------------
>
> Key: GIRAPH-493
> URL: https://issues.apache.org/jira/browse/GIRAPH-493
> Project: Giraph
> Issue Type: Bug
> Reporter: Nitay Joffe
> Assignee: Nitay Joffe
> Attachments: GIRAPH-493.patch
>
>
> We create a lot of EdgeWithSource (one per edge read) only to grab the
> sourceID / Edge out of them right after. Since we are not actually keeping
> these objects around we might as well just make the interface getSourceId()
> and getEdge() instead of the current get edge with source, and save on
> creating all of these objects.
> https://reviews.apache.org/r/9162/
--
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