A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2011-January/107226.html below:

[Python-Dev] Possible optimization for LOAD_FAST ?

[Python-Dev] Possible optimization for LOAD_FAST ? [Python-Dev] Possible optimization for LOAD_FAST ?Terry Reedy tjreedy at udel.edu
Wed Jan 5 09:56:10 CET 2011
On 1/4/2011 6:39 PM, Guido van Rossum wrote:

> So, that significantly weakens the argument that this optimization
> will break unit tests, since I am happy to promise never to optimize
> these builtins, and any other builtins intended for I/O.

This is one comprehensible rule rather than a list of exceptions, so 
easier to remember. It has two rationales: such often need to be 
over-riden for testing, possibly in hidden ways; such are inherently 
'slow' so optimizing dict lookup away hardly makes sense.

-- 
Terry Jan Reedy

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4