An open API service indexing awesome lists of open source software.

https://github.com/sbmueller/ring_buffer.rs

Simple ring buffer in rust
https://github.com/sbmueller/ring_buffer.rs

Last synced: 1 day ago
JSON representation

Simple ring buffer in rust

Awesome Lists containing this project

README

          

# Ring Buffer

Simple coding exercise in Rust to implement a [Ring Buffer](https://en.wikipedia.org/wiki/Circular_buffer).

The buffer implements a FIFO/queue behavior, storing items up to a defined
capacity. Items can be inserted at the end of the buffer and popped at the
beginning of the buffer.