Sorted and reversed on huge dict ?

vd12005 at vd12005 at
Sat Nov 4 08:39:21 CET 2006

so it still unfinished :) around 1GB for 1033268 words :) (comes from a
top unix command)

Paul > i was also thinking on doing it like that by pip-ing to 'sort |
uniq -c | sort -nr' , but i'm pleased if Python can handle it. (well
but maybe Python is slower? will check later...)

Klaas > i do not know about intern construct, i will have look, but
when googling i first found a post from Raymond Hettinger so i'm going
to mess my mental space :)

best regards.

More information about the Python-list mailing list