Immutable fixed-length list (a.k.a circular buffer) with an event emitter for Typescript and Javascript
TypeScript/JavaScript implementation of a circular buffer, circular queue, cyclic buffer or ring buffer. A data structure that uses a single, fixed-size buffer as if it were connected end-to-end. This structure lends itself easily to buffering data stream
Typescript implementation of queues, such as priority queue and circular queue.
Replace your slow Array based fixed length ring buffer, or circular queue, with ring-buffer. RingBuffer is roughly 10x faster, and is a drop in replacement.