Comment Comment by rigtorp That looks like a rewrite of my earlier work: https://rigtorp.se/ringbuffer/ parent rigtorp 4 months ago