Raymond Hettinger <[EMAIL PROTECTED]> added the comment:

Sorry, am not excited by this one.  It is not a common idiom in most
code that I've ever seen and it never occurs in an inner-loop.  Besides
the load_fast/store_fast combination are so *very* fast that any real
code would not see a worthwhile speedup.

When the AST optimizer gets built-out, I expect that we'll get many of
these sort of optimizations for free.  In the meantime, this one just
isn't worth adding complexity to the peepholer.

----------
assignee:  -> rhettinger
nosy: +rhettinger
priority:  -> low

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4134>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to