long lists

Merrigan charl.loubser at gmail.com
Mon May 7 08:14:34 EDT 2007


On May 7, 10:18 am, Steven D'Aprano
<ste... at REMOVE.THIS.cybersource.com.au> wrote:
> On Mon, 07 May 2007 00:28:14 -0700, Merrigan wrote:
> > 1. I have the script popping all the files that need to be checked into
> > a list, and have it parsing the list for everything...Now the problem is
> > this : The sever needs to check (at the moment) 375 files and eliminate
> > those that don't need reuploading. This number will obviously get bigger
> > and bigger as more files gets uploaded. Now, the problem that I'm having
> > is that the script is taking forever to parse the list and give the
> > final result. How can I speed this up?
>
> By writing faster code???
>
> It's really hard to answer this without more information. In particular:
>
> - what's the format of the list and how do you parse it?
>
> - how does the script decide what files need uploading?
>
> --
> Steven.

Hi, Thanx for the reply,

The Script it available at this url : http://www.lewendewoord.co.za/theScript.py

P.S. I know it looks like crap, but I'm a n00b, and not yet through
the OOP part of the tutorial.

Thanx in advance!




More information about the Python-list mailing list