simpleai-team/simpleai — pull request #32 by jstnlef (2013-01-15 06:22:05+00:00)
Title: using a deque instead of a list as 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)