giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Pupyrev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-1029) immutable numeric writables
Date Thu, 27 Aug 2015 17:54:47 GMT

    [ 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)

Mime
View raw message