You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use collections.deque to store animation cache data.
deques are exactly suited for the task at hand, and should be (here,
marginally) more efficient than repeatedly slicing off the start of the
list.
Also drop unneeded reference to old_frame_seq (the iterator already
keeps that data alive).
0 commit comments