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