Ring Buffer
Primary LanguageGoMIT LicenseMIT
type Ring[T any] interface { Put(value T) Get() T Size() int64 Capacity() int64 }