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/2008-February/077202.html below:

[Python-Dev] optimizing out local variables

[Python-Dev] optimizing out local variables [Python-Dev] optimizing out local variablesChristian Heimes lists at cheimes.de
Mon Feb 25 15:48:29 CET 2008
Gregory P. Smith wrote:
> On 2/24/08, Guido van Rossum <guido at python.org> wrote:
>> Let's only do it for -O; the optimization may interfere with debugging the
>> code.
> 
> 
> Does anyone ever actually bother to use -O?

People may start bothering to use -O when it's giving them a speedup for
real. How does -O affect Python code nowadays? IIRC it set __debug__ to
false and removes asserts from the byte code.

Christian
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