ring_buffer
RingBuffer
is a mix of a vector and a queue. It allows for direct element
access as well as pushing and popping elements like a queue.
Example
use RingBuffer;
Why use this?
The features of RingBuffer come in handy when processing a stream of elements while also needing to access elements in process at random.