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

List:       kde-core-devel
Subject:    Re: KImgio (Was: App start is too slow)
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-04-26 19:34:52
[Download RAW message or body]

Waldo Bastian wrote:
> 
> On Wed, 26 Apr 2000, Stephan Kulow wrote:
> > >   0.6s    dlopening kimg_***.so stuff. why is that necessary during
> > >           startup? I don't have a single tiff file on my entire hard
> > > disk, and still it seems to load every plugin it can find.
> >
> > Well, you're certainly right, but I can't see how we can help here. When
> > you first time access a QImage, it looks up the registred image handlers.
> > So you want to register them as soon as possible. But I guess, it can be
> > delayed a bit,  but it still has to be done before the background is
> > displayed (that _could_ be an image). But 0.6s are definitly worth a bit
> > extra optimization in case a flat background (or a builtin image type :) is
> > chosen.
> 
> Isn't it possible to register dummy handlers based on information in the
> .desktop file and to load the actual lib when you are about to load/save a
> certain image type?
> 
I'm afraid not that easy, but it could be possible.

Greetings, Stephan

-- 
It said Windows 95 or better, so in theory Linux should run it
                                                GeorgeH on /.

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

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