As I understand it loaded modules are cached, so if your have two
scripts importing the same modules for the handling of two different
requests the modules will only get loaded once so long as that
particular process instance is running.
On Oct 21, 2:22 pm, Adam <[EMAIL PROTECTED]> wrote:
> So gi
So given that I need modules a,b and c for all of my request handlers,
I'm better off having fewer
larger modules rather than a script for each page?
A
On Oct 21, 4:59 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote:
> Hi Adam,
>
> The biggest thing you can do to in this case is don't import lar
Hi Adam,
The biggest thing you can do to in this case is don't import large modules
until you need them. If your app has been idle for awhile, it will take
some CPU to warm up the Python interpreter in terms of import costs, but not
loading big modules until/unless they are needed, you will only