9 Sep
2003
9 Sep
'03
10:30 a.m.
zhimin@iss.nus.edu.sg wrote:
e.g. python -O z2.py This will run Zope with optimized bytecode .pyo files instead of .pyc files.
How's the performance gain? Any potential problem?
As long as you don't use -OO or set the PYTHONOPTIMIZE environment variable to an int you should be OK. I've been doing it without problems for some time. YMMV I suppose. -- Jamie Heilman http://audible.transient.net/~jamie/ "...thats the metaphorical equivalent of flopping your wedding tackle into a lion's mouth and flicking his lovespuds with a wet towel, pure insanity..." -Rimmer