From kde-core-devel Fri Jan 28 20:23:28 2000 From: David Faure Date: Fri, 28 Jan 2000 20:23:28 +0000 To: kde-core-devel Subject: Re: more thoughts about the new kio X-MARC-Message: https://marc.info/?l=kde-core-devel&m=94909108901018 On Fri, Jan 28, 2000 at 07:02:59PM +0000, Stephan Kulow wrote: > Well, two things. First the thing in the constructor is just a reminder. > What I wanted to implement is that one job starts when the other one > finishes. > I put them all in a queue in the constructor and whenever I reach a > finish > state, I get the next one from the queue, create a job, switch to > listdir > state, ... > > The other thing is, that listRecursive is implemented the way that > parent > dirs are always listed before sub directories. As long as you don't mix > subjobs of course. > > I don't see a sense of spawning N jobs at the same time. It's very > likely > that these URLs are from the same directory, so more than one job > working > there doesn't improve the performance (skiping the very unlikely case of > RAID-5 :), so better not even try it. Aaah. Ok. I assumed we wanted to do everything in parallel to save time. Obviously it's not such a good idea. Ok. -- David FAURE david@mandrakesoft.com, faure@kde.org http://home.clara.net/faure/ KDE, Making The Future of Computing Available Today