Hi while Deque have same function as collections.deque but it missing the maxlen function. Is there a solution to remove the most right when push from left and maxlen is reach, and vice versa using Deque. Or I should use Cache instead and pass collections.deque ?