A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-May/024027.html below:

[Python-Dev] Patch #552433

[Python-Dev] Patch #552433 [Python-Dev] Patch #552433Guido van Rossum guido@python.org
Wed, 08 May 2002 15:53:28 -0400
> When profiling, I found that Python, with iterators, spends a
> significant amount of time in allocating IndexError exceptions, so I
> thought that patch makes sense. There is also speed to be gained from
> accessing the tuple directly (thus bypassing the function call), but
> that may not be so relevant.

Ah, that helps.

[...]

> So it appears that a significant fraction of the exhausted containers are
> indeed tuples, justifying the special-casing.

OK, I'm convinced.

--Guido van Rossum (home page: http://www.python.org/~guido/)




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