[Python-Dev] default of returning None hurts performance? (original) (raw)
Raymond Hettinger python at rcn.com
Tue Sep 1 17:49:07 CEST 2009
- Previous message: [Python-Dev] default of returning None hurts performance?
- Next message: [Python-Dev] default of returning None hurts performance?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I fail to understand this crude logic.
If a function contains any looping (C or otherwise) or does much in
the way of meaningful work, then it's unlikely that the single POP_TOP
associated with an implied "return None" is taking much of the total
runtime.
Raymond
- Previous message: [Python-Dev] default of returning None hurts performance?
- Next message: [Python-Dev] default of returning None hurts performance?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]