Vertex serialization

2011-09-15 Thread Claudio Martella
Hello,

I've noticed that Vertex's Writable implementation (readFields and
write) write longs for map (edges and messages) sizes (which are
ints). Is it for some compatibility reason?

-- 
    Claudio Martella
    claudio.marte...@gmail.com


Re: Vertex serialization

2011-09-15 Thread Avery Ching
It should probably be ints instead of longs for now.  I think I was 
thinking of day when it might be possible to have more than 
Integer.MAX_VALUE edges or messages.  But that would break this current 
implementation anyway.


Avery

On 9/15/11 4:49 AM, Claudio Martella wrote:

Hello,

I've noticed that Vertex's Writable implementation (readFields and
write) write longs for map (edges and messages) sizes (which are
ints). Is it for some compatibility reason?