[PATCH] Speed up iconView's setIcons 2x...
David Faure
david at mandrakesoft.com
Tue Aug 13 23:11:14 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 13 August 2002 23:51, Maks Orlovich wrote:
> > 1. dirLister->openURL, which takes 600-800ms (probably worth a look)
>
> This is in fact mostly spent KonqKfmIconView::slotNewItems( const
> KFileItemList& entries ) and suggests that my original patch is probably
> not the best way of addressing it.. What happens here is that the directory
> lister cache recognizes the familiar directory, and dumps all of the files
> in it immediately to the icon view; so the view spends its time processing
> all the items; and then updating the icons for them before returning to the
> event loop..
Sounds correct, but I don't see where the problem is, in the above description.
The original patch looked good at first sight though, I don't see why it slows things
down in the above case.
- --
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-rc1 is out. ftp://ftp.kde.org/pub/kde/unstable/koffice-1.2-rc1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9WYQC72KcVAmwbhARAo9JAJ4jwdTxrFd7LhnUSft0ohJ1u7etRgCfbq5F
06naz/LoVJqls8wuJlAZmm8=
=w4X9
-----END PGP SIGNATURE-----
More information about the kfm-devel
mailing list