Tencent / plato

腾讯高性能分布式图计算框架Plato
Other
1.89k stars 331 forks source link

vid 最大值能否超出 uint32? #168

Open sidazhou opened 2 years ago

sidazhou commented 2 years ago

vid 总量不能超出 uint32,例如: https://github.com/Tencent/plato/issues/61 https://github.com/Tencent/plato/issues/71

但是请问,vid 最大值能否超出 uint32?(max uint32 = 4,294,967,295)(5000000000 > max uint32) 例如我的连接列表的输入数据是否可以是: from_vid to_vid 5000000000 5000000001
5000000001 5000000003 ... ...

还是我需要encode成为以下才能作为输入? 0 1 1 3 ... ...

abasi20 commented 2 years ago

需要修改存储id的buf类型uint32-》uint64,可以参考gemini,这样会增加内存的开销