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

List:       kde-core-devel
Subject:    Re: icon server
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-12-21 2:29:11
[Download RAW message or body]

On Monday 17 December 2001 02:26 pm, Lubos Lunak wrote:
> If this icon
> server is not fast enough, then whoever came first with the idea that icon
> loading is slow, was wrong.
>
>  Well ... comments?

Yes, I'm afraid we ain't gonna win much with this :-( I don't think icon 
loading is very slow btw, but it is something which costs considerable time, 
as such it is a candidate for improvement.

On to plan B then.. that would be to try to delay loading icons as much as 
possible. E.g. icons used in menu's theoretically don't need to be loaded 
until the menu is actually shown. Konqueror loads about 150 icons on startup, 
(50 of which are for the cogwheel) but I only see about 30 icons on the 
screen. That seems to indicate that we can load about 70 icons later.

Some other things I noticed while looking at konqueror with strace:
* We load about 50 images for the rotating cogwheel, making that a single .mng 
should be faster one would think.
* favicons that aren't there are searched in about 20 directories where they 
most certainly will not be either. It is really not neccessary to look for 
/ext/kde-head/share/icons/hicolor/16x16/mimetypes/favicons/developer.kde.org.png 

Cheers,
Waldo
[prev in list] [next in list] [prev in thread] [next in thread] 

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