Author pitrou
Recipients alex, belopolsky, benjamin.peterson, brett.cannon, dmalcolm, eric.smith, georg.brandl, jhylton, nnorwitz, pitrou, rhettinger, sdahlbac, skip.montanaro, thomaslee, titanstar
Date 2010-11-13.18:14:13
SpamBayes Score 1.32938e-05
Marked as misclassified No
Message-id <1289672055.92.0.943585449534.issue10401@psf.upfronthosting.co.za>
In-reply-to
Content
There aren't many possible approaches. The more complex variants of globals caches try to also speedup writes, which is IMO a waste of time since rebinding globals is not a good coding practice, and especially not in the middle of time-critical loops.

(by the way, the patch only addresses normal functions, but generators would easily benefit from a similar treatment)

And Skip is right that this would be most useful when paired with a JIT (allowing for aggressive specialization, and possibly inlining).
History
Date User Action Args
2010-11-13 18:14:15pitrousetrecipients: + pitrou, jhylton, skip.montanaro, nnorwitz, brett.cannon, georg.brandl, rhettinger, belopolsky, sdahlbac, titanstar, eric.smith, thomaslee, benjamin.peterson, alex, dmalcolm
2010-11-13 18:14:15pitrousetmessageid: <1289672055.92.0.943585449534.issue10401@psf.upfronthosting.co.za>
2010-11-13 18:14:13pitroulinkissue10401 messages
2010-11-13 18:14:13pitroucreate