Comment on I've been writing ring buffers wrong all these years (2016)parentComments−ErroneousBosh8moYes, I get you now. If you let it roll over and you apply a modulo operation, now you have two modulo operations :-)
Comments
Yes, I get you now. If you let it roll over and you apply a modulo operation, now you have two modulo operations :-)