This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger, serhiy.storchaka
Date 2016-11-11.12:10:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The STORE_FAST, LOAD_FAST, and LOAD_DEREF opcodes all use fast macros for variable access.  This patch harmonizes STORE_DEREF to follow the same pattern.

Both the C code and the generated assembly look nicer.  Gives an approx 40% speed-up (using both Clang and GCC-6) on the "store_nonlocal" portion of the variable access benchmark at
The eliminates the nonlocal speed penalty, making cell variable updates run nearly as fast as updates to locals.
Date User Action Args
2016-11-11 12:10:41rhettingersetrecipients: + rhettinger, serhiy.storchaka
2016-11-11 12:10:41rhettingersetmessageid: <>
2016-11-11 12:10:41rhettingerlinkissue28665 messages
2016-11-11 12:10:41rhettingercreate