Dana wrote:
There is a speed increase-- it's just not that big in this situation. It still compiles it, it just doesn't write out the compiled bytecode in your case. It will compile it the first time it is accessed, and then stay in active memory. If the .pyc files were being created on the fly, it would save that initial request a very small amount of time. You would see a huge slowdown if you were using python to run cgi, and python had to load itself into memory, compile the code, and run it for each and every request. Fortunately with mod_python, this isn't the case.@EvertThanks for the information, Ill be looking into all that today. @Graham, So there is no speed increase in using compiled python than using just strait python? So why is python ever compiled in the first place?
Hopefully this makes a little more sense now. Cheers! Jeff Anderson
signature.asc
Description: OpenPGP digital signature