Slows starting of downloading with KIO

Aaron J. Seigo aseigo at kde.org
Mon Dec 19 19:23:14 GMT 2005


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051219/703e2070/attachment.sig>


More information about the kde-core-devel mailing list