Should I use a dictionary?

Aahz Maruch aahz at panix.com
Tue Jun 26 06:41:13 CEST 2001


In article <sTTZ6.248652$p33.5007707 at news1.sttls1.wa.home.com>,
Greg Jorgensen <gregj at pdxperts.com> wrote:
>
>When you want to sort the messages, use your own sort function to compare
>the message date/time:

That's a Bad Idea if there are a lot of messages; such comparison
functions are expensive.
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista   

"Those who do not remember the past are condemned to repeat it."



More information about the Python-list mailing list