MrKalister/deque_with_ring_buffer
Is works on the principle of a ring buffer. Due to the fact that there is no need to allocate memory again, each operation is performed in O(1). This queue implementation has a significant drawback: a limit on the maximum size.
PythonBSD-3-Clause