sorting 1172026 entries

J. Mwebaze jmwebaze at gmail.com
Sun May 6 12:11:44 EDT 2012


On Sun, May 6, 2012 at 6:09 PM, Devin Jeanpierre <jeanpierreda at gmail.com>wrote:

> On Sun, May 6, 2012 at 11:57 AM, J. Mwebaze <jmwebaze at gmail.com> wrote:
> > I have several lists with approx 1172026 entries. I have been trying to
> sort
> > the records, but have failed.. I tried lists.sort() i also trired sorted
> > python's inbuilt method. This has been running for weeks.
>
> Sorting 1172026 random floats takes about 1.5 seconds to do on my
> machine. More complicated objects take more time, but usually not that
> much more time. What exactly are you sorting?
>
> -- Devin
>

[ (datatime, int) ] * 1172026
-- 
*Mob UG: +256 (0) 70 1735800 | NL +31 (0) 6 852 841 38 | Gtalk: jmwebaze |
skype: mwebazej | URL: www.astro.rug.nl/~jmwebaze

/* Life runs on code */*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120506/01ee1a09/attachment-0001.html>


More information about the Python-list mailing list