homepage

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 <1478866241.77.0.0742898329944.issue28665@psf.upfronthosting.co.za>
In-reply-to
Content
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 http://code.activestate.com/recipes/577834
The eliminates the nonlocal speed penalty, making cell variable updates run nearly as fast as updates to locals.
History
Date User Action Args
2016年11月11日 12:10:41rhettingersetrecipients: + rhettinger, serhiy.storchaka
2016年11月11日 12:10:41rhettingersetmessageid: <1478866241.77.0.0742898329944.issue28665@psf.upfronthosting.co.za>
2016年11月11日 12:10:41rhettingerlinkissue28665 messages
2016年11月11日 12:10:41rhettingercreate

AltStyle によって変換されたページ (->オリジナル) /