Ok I think I got it now.

Well, now to figure out why my application is eating up over 200mb's
of memory without any users...

Thanks,
Dana

On Jul 15, 11:08 am, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> Dana wrote:
> > @Evert
>
> > Thanks 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?
>
> 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.
>
> Hopefully this makes a little more sense now.
>
> Cheers!
>
> Jeff Anderson
>
>  signature.asc
> 1KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to