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
- Host: GitHub
- URL: https://github.com/sbmueller/ring_buffer.rs
- Owner: sbmueller
- Created: 2022-12-08T17:27:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T16:49:54.000Z (over 3 years ago)
- Last Synced: 2025-02-14T20:55:08.068Z (over 1 year ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.