long lists
Steven D'Aprano
steven at REMOVE.THIS.cybersource.com.au
Mon May 7 04:18:34 EDT 2007
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.
More information about the Python-list
mailing list