[issue28665] Harmonize STORE_DEREF with STORE_FAST and LOAD_DEREF

Raymond Hettinger report at bugs.python.org
Sat Nov 12 03:34:17 EST 2016


Raymond Hettinger added the comment:

I think to speed benefit for the last two patches is likely too modest to care about. The main reason I did the work was because you suggested it and because it seemed like a reasonable idea (the patched code looks nice, it does only work that is necessary, and it is more consistent with the other opcodes).

Let me know if you want to go forward with it or leave it in the current state (the current juxtaposition of PyCell_GET with PyCell_Set looks a little weird but it does get the job done).

----------

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


More information about the Python-bugs-list mailing list