Sigh, this reminds me of a discussion I had at my work once... It seems to write optimal Python code one must understand various probabilites of your data, and code according to the likely scenario.
And this is different from optimizing in *any* other language in what way?
-Peter -- http://mail.python.org/mailman/listinfo/python-list