giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Pupyrev (JIRA)" <>
Subject [jira] [Created] (GIRAPH-1029) immutable numeric writables
Date Thu, 27 Aug 2015 17:51:45 GMT
Sergey Pupyrev created GIRAPH-1029:

             Summary: immutable numeric writables
                 Key: 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

View raw message