Re: Compiled bytecode

2004-12-30 Thread Peter Hansen
Rocco Moretti wrote: Peter Hansen wrote: The main script is generally not compiled, but all imported scripts are generally compiled automatically, the first time they are imported, and never again unless the source changes. Someone please correct me if I'm wrong, but I'm under the impression that

Re: Compiled bytecode

2004-12-30 Thread Rocco Moretti
Peter Hansen wrote: The main script is generally not compiled, but all imported scripts are generally compiled automatically, the first time they are imported, and never again unless the source changes. Someone please correct me if I'm wrong, but I'm under the impression that the main script *is*

Re: Compiled bytecode

2004-12-29 Thread Peter Hansen
LutherRevisited wrote: This may be a dumb question, but are there any practical advantages of compiling a python application to *.pyo, or *.pyc? I haven't noticed any difference in the performance of text *.py or a bytecompiled file. The main script is generally not compiled, but all imported scri

Re: Compiled bytecode

2004-12-29 Thread "Martin v. Löwis"
LutherRevisited wrote: This may be a dumb question, but are there any practical advantages of compiling a python application to *.pyo, or *.pyc? I haven't noticed any difference in the performance of text *.py or a bytecompiled file. For a large application, the startup cost may be noticable, as i

Re: Compiled bytecode

2004-12-29 Thread JZ
Dnia 29 Dec 2004 23:57:14 GMT, LutherRevisited napisał(a): > I haven't noticed any difference in the performance of text *.py > or a bytecompiled file. Importing modules works faster. -- JZ ICQ:6712522 http://zabiello.com -- http://mail.python.org/mailman/listinfo/python-list

Compiled bytecode

2004-12-29 Thread LutherRevisited
This may be a dumb question, but are there any practical advantages of compiling a python application to *.pyo, or *.pyc? I haven't noticed any difference in the performance of text *.py or a bytecompiled file. -- http://mail.python.org/mailman/listinfo/python-list