[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: icon loading (app startup) speed (long)
From: Matthias Ettrich <ettrich () trolltech ! com>
Date: 2001-08-10 16:58:31
[Download RAW message or body]
On Friday 10 August 2001 18:50, Richard Moore wrote:
> Antonio Larrosa Jiménez wrote:
[snip]
>
> [snip]
>
> > I modified the icon loader to use a "best case" method to load an icon,
> > that is: I embeeded an icon into the sources using the qembed tool from
> > Qt and then return always the same icon ignoring what icon was requested.
>
> This is best-case with regard to searching for an icon, but not
> with regard to loading it - the embedded icon still needs to be
> transmitted to the X server (possibly including changing the layout
> of the image data). This means that while your results are very
> interesting, they don't let us see what the benefits of sharing
> X pixmaps between processes (as suggested above) would be.
>
> Cheers
>
> Rich.
Rich is right. Cache the QPixmap in your icon loader function, not the
QImage-data, and compare the numbers again.
I'm curious to see the numbers for this best-case.
Matthias
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic