> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: 26 June 2007 14:18 > To: [email protected] > Subject: Slowing down in loop > > i have an app that has to update two table with pdf files > from directories. There are about 900 files in one Dir and > about 3000 in the other. I have to check if each file is in > the table if not add it. This requires 3000 searches on the > table but as the app progresses it slows down to a crawl. > Anybody have any ideas?. > > I have to add to this the revers for deleted files, so I > really could do with speeding up the loop. >
Have you tried using threads? _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

