On Sun, May 6, 2012 at 12:11 PM, J. Mwebaze <jmweb...@gmail.com> wrote: > [ (datatime, int) ] * 1172026
I can't duplicate slowness. It finishes fairly quickly here. Maybe you could try posting specific code? It might be something else that is making your program take forever. >>> x = [(datetime.datetime.now() + datetime.timedelta(random.getrandbits(10)), >>> random.getrandbits(32)) for _ in xrange(1172026)] >>> random.shuffle(x) >>> x.sort() >>> -- Devin -- http://mail.python.org/mailman/listinfo/python-list