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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28800>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to