[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Slows starting of downloading with KIO
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2005-12-19 19:23:14
Message-ID: 200512191223.15044.aseigo () kde ! org
[Download RAW message or body]
On Monday 19 December 2005 10:49, David Faure wrote:
> If we didn't stat the files, we wouldn't be able to know that they are
> files and not directories (which would need a recursive listing). And if we
> wait until an error like "this is a dir and not a file" to do that, then we
> can't provide meaningful progress information - what initially looks like
> copying 4 "files" (urls) ends up being "copying 3 files and then copying a
> huge directory full of files", so allocating 25% of the progress to the
> latter phase would be wrong.
so perhaps we shouldn't start the progress meter until all the files are
statted, but start the download of the first file immediately?
--
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic