module imports and memory usage
From: Brad Tilley (bradtilley_at_gmail.com)
Date: 11/30/04
- Next message: Jp Calderone: "Re: SOAPpy/ZSI/Twisted SOAP over stdin/stdout?"
- Previous message: Peter Hansen: "Re: date diff calc"
- Next in thread: Istvan Albert: "Re: module imports and memory usage"
- Reply: Istvan Albert: "Re: module imports and memory usage"
- Reply: Jp Calderone: "Re: module imports and memory usage"
- Reply: David Bolen: "Re: module imports and memory usage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Nov 2004 10:02:27 -0500
When memory usage is a concern, is it better to do:
from X import Y
or
import X
Also, is there a way to load and unload modules as they are needed. I
have some scripts that sleep for extended periods during a while loop
and I need to be as memory friendly as possible. I can post a detailed
script that currently uses ~ 10MB of memory if anyone is interested.
Thanks,
Brad
- Next message: Jp Calderone: "Re: SOAPpy/ZSI/Twisted SOAP over stdin/stdout?"
- Previous message: Peter Hansen: "Re: date diff calc"
- Next in thread: Istvan Albert: "Re: module imports and memory usage"
- Reply: Istvan Albert: "Re: module imports and memory usage"
- Reply: Jp Calderone: "Re: module imports and memory usage"
- Reply: David Bolen: "Re: module imports and memory usage"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|