first, second, etc line of text file

Grant Edwards grante at visi.com
Wed Jul 25 17:13:38 EDT 2007


On 2007-07-25, Jeff <jeffober at gmail.com> wrote:

> That might be a memory problem if you are running multiple processes
> regularly, such as on a webserver.

I suppose if you did it in parallel 50 processes, you could use
up 250MB of RAM.  Still not a big deal on many servers.  A
decent OS will swap regions that aren't being used to disk, so
it's likely not to be a problem.  

If you're talking several hundred instances, you could start to
use up serios amounts of VM. Still, I say do it the simple,
obvious way first, and optimize it _after_ you've determined
you have a performance problem (and determined where the
bottleneck is).  Premature optimization...

-- 
Grant Edwards                   grante             Yow! This PORCUPINE knows
                                  at               his ZIPCODE ... And he has
                               visi.com            "VISA"!!



More information about the Python-list mailing list