#!/usr/local/bin/python2 for i xrange(100000): l = [1,2,3] #l[:] = l[1:] l.pop(0)