Sergey Pupyrev created GIRAPH-1029:
--------------------------------------

             Summary: 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