Safe Haskell | None |
---|
Data.RingBuffer.SeqBuffer
Description
A RingBuffer
based on Seq
. Asymptotic behavior is quite
good in all cases, but constant factors are very high.
Documentation
class RingBuffer c whereSource
The RingBuffer interface.
Instances must define length
, push
, and '(!)'. Instances may define
slice
for better performance.
Methods
Instances