Use deques for frame queues.
Use deques for frame queues.

Python lists make bad queues. Rather than being linked-lists they're
actually fancy arrays. This means popping from the left (which frame
queues do) requires that the array be resized and potentially
reallocated. We should avoid some of that memory churn.

fredthomsen/hyper,Lukasa/hyper,jdecuyper/hyper,lawnmowerlatte/hyper,irvind/hyper,masaori335/hyper,plucury/hyper,Lukasa/hyper,fredthomsen/hyper,plucury/hyper,irvind/hyper,lawnmowerlatte/hyper,masaori335/hyper,jdecuyper/hyper