simpleai-team/simpleai — pull request #31 by jstnlef (2013-01-15 04:24:57+00:00)
Title: Using a deque instead of a list for a more performant data structure

pop(0) incurs O(n) memory movements for python lists as opposed to deque from collections which can do it in O(1)