fedora-devel-list@redhat.com
[Top] [All Lists]

Re: %ghost .pyo

Subject: Re: %ghost .pyo
From: Enrico Scholz
Date: Wed, 22 Dec 2004 19:12:57 +0100
symbiont@xxxxxxxxxx (Jeff Pitman) writes:

> This would be especially cool if pyo actually provided a significant
> optimization besides a minor startup boost.

.pyo resp. 'python -O' does not execute statements which depend on
'__debug__'. This includes e.g. every 'assert()' so you can see speedup
on programs using such code.



Enrico

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

<Prev in Thread] Current Thread [Next in Thread>