Open tom-huntington opened 5 years ago
A ring buffer should write around the "edge" of the buffer. Zed's RingBuffer merely resets once it is empty.
Consider renaming to FancyBuffer or AdvancedBuffer, or change the implementation to write around the edge.
I should have checked here hours ago - I thought I was crazy or that there was some memcpy magic i didn't understand.
A ring buffer should write around the "edge" of the buffer. Zed's RingBuffer merely resets once it is empty.
Consider renaming to FancyBuffer or AdvancedBuffer, or change the implementation to write around the edge.