Matt Bandy <matt.ba...@thq.com> added the comment:

I tried this out in VC++ 2008 with the new temporary as both a global variable 
and a local.  At least for VC++, Amaury is correct -- the compiler is 
generating the store to the global even though it is never read, so making it a 
local instead does save an instruction.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to