[Python-Dev] Python3: speed efficiency vs user friendliness (my first experience)
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Mar 22 23:58:26 CET 2011
Steven D'Aprano wrote:
> The main one that comes to my mind is that other than looping, any time
> I want to process dict.items() etc I often need to call list() first.
I don't think that's such a bad thing. It makes it clear that
you're performing a more expensive operation than just looking
at the keys.
--
Greg
More information about the Python-Dev
mailing list