Module CCRingBuffer

module CCRingBuffer: sig .. end

Circular Buffer (Deque)

Useful for IO, or as a bounded-size alternative to Queue when batch operations are needed.

status: experimental
Since 1.3

Underlying Array

module Array: sig .. end
The abstract type for arrays
module type S = sig .. end
Ring Buffer
module Byte: S  with module Array = Array.Byte
An efficient byte based ring buffer
module MakeFromArray (A : Array.S: S  with module Array = A
Makes a ring buffer module with the given array type.
module Make (X : sig
type t 
val dummy : t
end: S  with type Array.elt = X.t and type Array.t = X.t array
Buffer using regular arrays