Skip to content

GeorgePap-719/RingBuffer

Repository files navigation

RingBuffer

Various implementations of ring-buffer structure.

This project is mostly exploratory. While the correctness of the structures is verified using the lincheck framework, they are not optimized for production.

Example

val buffer = ManyToOneRingBuffer<String>(capacity = 128)
val success = buffer.trySend("Hello")
val value = buffer.receiveOrNull()

About

Implementations for RingBuffer

Resources

Stars

Watchers

Forks

Languages