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

ASF GitHub Bot commented on GIRAPH-1175:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/giraph/pull/63


> Avoid evaluation of Partition.getEdgeCount in log line
> ------------------------------------------------------
>
>                 Key: GIRAPH-1175
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-1175
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Dionysios Logothetis
>            Priority: Major
>
> Calling {{partition.getEdgeCount()}} iteration on all the vertices of the 
> partition, which can be expensive. The expression inside {{checkNotNull}} is 
> always evaluated, making this expensive. This constructs the string only if 
> necessary.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to