hanyunchang commented on issue #796: URL: https://github.com/apache/brpc/issues/796#issuecomment-1792026286
看代码,加入window绑定的变量是Adder<int64>, 那么window的get_value方法的返回值类型就是int64,也就是说在window_size内累加值也是可能溢出的。 "只要时间跨度不太夸张,结果也是准确的" 应该是这个意思吧? -- 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: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org