python optimization

h__l at my-deja.com h__l at my-deja.com
Thu Jun 22 18:53:55 EDT 2000


This may have already been covered but I have not seen this particular
question answered anywhere.  I am sure I missed this in the docs (or
read the wrong ones) but what are the OPT options for optimization?

I know of -O0  <turns it off?>
and also -O2 <default it seems for the RPM I d/l for python 1.5>

Is there a higher level? would this generate nonportable code (despite
the portability python enjoys)? error
prone code? How should I test this (I have a need to test it on both
win32 and also linux (RH 6.1).

Thanks in advance


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list