shawnh2 commented on PR #554: URL: https://github.com/apache/dubbo-go-pixiu/pull/554#issuecomment-1500318290
> > 分配好像不均衡,result `map[1:6 2:2 3:4 4:5 5:3]` > > maglev hash 算法要求的是 LookUpTable 的表长度(也就是其结构体内 size 字段的值)必须是个质数,这样可以保证均衡。 > > 但在目前的实现中,这一点我没有去保证,我来补充一下。 fixed, @baerwang PTAL -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
