Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 350 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 350 Bytes

BadRingBuffer

Dont use it... Im serious... Just don't.

Implementation

This is an unsafe ring buffer implemented in Rust with memory layout and pointers. When the buffer is full it will push the tail hence overwriting the oldest generation.

TODO

  • Impl option to not overwrite oldest gen and instead return an error during write time.