[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
More information about the Python-Dev mailing list
Tue Mar 22 23:58:26 CET 2011
- Previous message: [Python-Dev] Python3: speed efficiency vs user friendliness (my first experience)
- Next message: [Python-Dev] Python3: speed efficiency vs user friendliness (my first experience)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Python3: speed efficiency vs user friendliness (my first experience)
- Next message: [Python-Dev] Python3: speed efficiency vs user friendliness (my first experience)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list