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 orsenthil
Recipients eric.araujo, georg.brandl, michael.driscoll, orsenthil, python-dev, rhettinger, sandro.tosi, smichr, tim.peters
Date 2013-09-16.00:36:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
Tim Peters added the comment:

>      ..., _fast=slow, ...
> in an argument list means we endure the slow lookup (of `slow`) only
> once, when the function is first defined.  When the function is
> _called_, that binding is available via the local (much faster lookup)
> variable `_fast`.
> Purely a speed trick, but can make a real difference in very heavily
> used functions.

Thanks for the answer, Tim. Interesting optimization.
Date User Action Args
2013-09-16 00:36:08orsenthilsetrecipients: + orsenthil, tim.peters, georg.brandl, rhettinger, smichr, eric.araujo, sandro.tosi, python-dev, michael.driscoll
2013-09-16 00:36:08orsenthillinkissue14927 messages
2013-09-16 00:36:07orsenthilcreate