[issue28800] Add RETURN_NONE bytecode instruction

Serhiy Storchaka report at bugs.python.org
Sun Nov 27 06:15:21 EST 2016


Serhiy Storchaka added the comment:

The pair LOAD_CONST/RETURN_VALUE is on 19th place of the top of opcode pairs (see msg269391 in issue27255). Not all of these constants are None. And since the time of LOAD_CONST is much smaller then the time of RETURN_VALUE (the latter includes destroying a frame and should be in a pair with CALL_FUNCTION), I think the performance effect of RETURN_NONE is much less than 1%.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28800>
_______________________________________


More information about the Python-bugs-list mailing list