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

Sergey Pupyrev commented on GIRAPH-1029:
----------------------------------------

patch - https://reviews.facebook.net/D45723

> immutable numeric writables
> ---------------------------
>
>                 Key: GIRAPH-1029
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-1029
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Sergey Pupyrev
>
> I see a lot of expressions like LongWritable reusableZero = new 
> LongWritable(0) or IntWritable reusableOne = new IntWritable(1).
> How about creating an immutable version of numeric Writables to avoid the 
> constructions and make GC's job easier



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to