A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/308986.html below:

Magic Optimisation

Magic Optimisation Magic OptimisationTerry Reedy tjreedy at udel.edu
Wed Sep 14 10:16:40 EDT 2005
"ABO" <abo at google.com> wrote in message 
news:1126696724.760484.311670 at g47g2000cwa.googlegroups.com...
> There are other "optimisations" that could be applied that make this
> code faster but uglier. For example, putting another "while True: loop
> inside the try block to avoid the try block setup each iteration.

In CPython, 'setting up' try-blocks is (intentionally) very fast, perhaps 
as fast or faster than one interation loop.

tjr




More information about the Python-list 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