coocood/freecache

A little question about ringbuf

dyzw opened this issue · 0 comments

dyzw commented

In the process of using ringbuf, every time I write, the end variable is directly accumulated. I am a little bit doubtful whether the value of end will exceed the maximum storage value of int64, causing problems with the value of end. Thank you.