Skip to content

Toerktumlare/BadRingBuffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

It is what it is... a bad ring buffer... don't use it. I'm serious. Don't.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published