[Python-Dev] default of returning None hurts performance? (original) (raw)
Benjamin Peterson benjamin at python.org
Tue Sep 1 00:28:39 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 ]
2009/8/31 Gregory P. Smith <greg at krypto.org>:
I was just wondering if a bytecode for a superinstruction of the common sequence:
6 POPTOP 7 LOADCONST 0 (None) 10 RETURNVALUE might be worth it.
We could just utilize RETURN_VALUE's op argument.
-- Regards, Benjamin
- 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 ]