[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: more thoughts about the new kio
From:       David Faure <faure () kde ! org>
Date:       2000-01-28 20:23:28
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic